diff options
author | Stefan Husmann | 2016-05-15 00:02:33 +0200 |
---|---|---|
committer | Stefan Husmann | 2016-05-15 00:02:33 +0200 |
commit | 29dd4812b906be4b65663bdc72a7e15a27fe34df (patch) | |
tree | 51c50699fc5331b4b9a56c21367203fb44443a38 | |
parent | 3a387012a843f2536e9247af12b66cc95fe73d01 (diff) | |
download | aur-29dd4812b906be4b65663bdc72a7e15a27fe34df.tar.gz |
adopted and updated
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 26 insertions, 21 deletions
@@ -1,13 +1,13 @@ +# Generated by mksrcinfo v8 +# Sat May 14 22:02:33 UTC 2016 pkgbase = mathics pkgdesc = General-purpose online computer algebra system featuring Mathematica-compatible syntax and functions - pkgver = 0.8 + pkgver = 0.9 pkgrel = 1 url = http://www.mathics.org/ - arch = i686 - arch = x86_64 + arch = any license = GPL3 - depends = python2 - depends = python2-setuptools + makedepends = python2-setuptools depends = python2-dateutil depends = python2-ply>=3.4 depends = python2-six @@ -17,8 +17,8 @@ pkgbase = mathics depends = python2-argparse depends = python2-interruptingcow optdepends = cython2: cython optimisations - source = https://github.com/mathics/Mathics/releases/download/v0.8/mathics-0.8.tar.gz - md5sums = 05d6d1f0af9dc20f267a1d9b1b7b1831 + source = https://github.com/mathics/Mathics/releases/download/v0.9/mathics-0.9.tar.gz + md5sums = 101c4382611fad9118b52b90b3e687a5 pkgname = mathics @@ -1,31 +1,36 @@ -# Maintainer: sn6uv mathics@angusgriffith.com +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: sn6uv mathics@angusgriffith.com # Contributor: Lex Black <autumn-wind at web dot de> # Contributor: rnestler # Contributor: mefistofeles pkgname=mathics -pkgver=0.8 +pkgver=0.9 pkgrel=1 -arch=('i686' 'x86_64') +arch=('any') pkgdesc='General-purpose online computer algebra system featuring Mathematica-compatible syntax and functions' url='http://www.mathics.org/' license=('GPL3') -depends=('python2' 'python2-setuptools' 'python2-dateutil' 'python2-ply>=3.4' 'python2-six' 'python2-sympy>=0.7.3' 'python2-django>=1.6' 'python2-colorama' 'python2-argparse' 'python2-interruptingcow') -optdepends=( - 'cython2: cython optimisations' -) - +depends=('python2-dateutil' 'python2-ply>=3.4' 'python2-six' 'python2-sympy>=0.7.3' 'python2-django>=1.6' 'python2-colorama' 'python2-argparse' 'python2-interruptingcow') +makedepends=('python2-setuptools') +optdepends=('cython2: cython optimisations') source=("https://github.com/mathics/Mathics/releases/download/v${pkgver}/mathics-${pkgver}.tar.gz") -md5sums=('05d6d1f0af9dc20f267a1d9b1b7b1831') +md5sums=('101c4382611fad9118b52b90b3e687a5') +prepare() { + cd "$pkgname-$pkgver" + # mathics supports sympy==0.7.6 but works (with minor errors) for >=0.7.6 + sed -i 's/sympy==0.7.6/sympy>=0.7.3/' setup.py + sed -i '66s/django >= 1.8, < 1.9/django/' setup.py + find . -name "*.py" -exec sed -i '1s+python+python2+' {} \; +} build() { - # mathics supports sympy==0.7.6 but works (with minor errors) for >=0.7.6 - sed -i 's/sympy==0.7.6/sympy>=0.7.3/' setup.py - sed -i 's/django >= 1.6, < 1.7/django>=1.6/' setup.py - python2 setup.py build + cd "$pkgname-$pkgver" + python2 setup.py build } package() { - python2 setup.py install --root=${pkgdir} + cd "$pkgname-$pkgver" + python2 setup.py install --root=${pkgdir} } |