diff options
author | Michel Zou | 2017-03-14 19:15:42 +0100 |
---|---|---|
committer | Michel Zou | 2017-03-14 19:15:42 +0100 |
commit | 5df0b8db3883ead626e96a8ba5a510fa73c925d4 (patch) | |
tree | 715b8ab6d5e2989b3291d76ef6fb470d31573f22 | |
parent | 6f6cad08eea534ede7c6015b815c436057664e2d (diff) | |
download | aur-5df0b8db3883ead626e96a8ba5a510fa73c925d4.tar.gz |
fix glimda error
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Feb 21 21:44:36 UTC 2017 +# Tue Mar 14 18:15:41 UTC 2017 pkgbase = python-assimulo pkgdesc = A package for solving ordinary differential equations and differential algebraic equations pkgver = 2.9 - pkgrel = 2 + pkgrel = 3 url = http://www.jmodelica.org/assimulo arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ pkgbase=python-assimulo pkgname=('python-assimulo' 'python2-assimulo') pkgver=2.9 -pkgrel=2 +pkgrel=3 pkgdesc="A package for solving ordinary differential equations and differential algebraic equations" url="http://www.jmodelica.org/assimulo" arch=('i686' 'x86_64') @@ -10,6 +10,11 @@ makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'gcc-fo source=("https://pypi.python.org/packages/4c/c0/19a54949817204313efff9f83f1e4a247edebed0a1cc5a317a95d3f374ae/Assimulo-2.9.zip") md5sums=('3f28fd98011d2ec7a01703a1ef1dff45') +prepare() { + cd "${srcdir}"/Assimulo-$pkgver + sed -i 's|print("Could not find GLIMDA")|import sys; sys.stderr.write("Could not find GLIMDA\\n")|g' assimulo/solvers/glimda.py +} + build() { cp -r "${srcdir}"/Assimulo-$pkgver "${srcdir}"/Assimulo-$pkgver-py2 } |