diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 17:29:38 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 17:29:38 +0100 |
commit | dc8bb072b4ed68f79add0f5982de6200fe23690d (patch) | |
tree | 926ce5048319d96276ee7bc42063fbde737b135b /pcr | |
parent | a4aa31a6f6eaa4d2be588463b6918dd6a0f3a453 (diff) | |
download | abslibre-dc8bb072b4ed68f79add0f5982de6200fe23690d.tar.gz abslibre-dc8bb072b4ed68f79add0f5982de6200fe23690d.tar.bz2 abslibre-dc8bb072b4ed68f79add0f5982de6200fe23690d.zip |
pcr/mathics: updated to 1.0
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/mathics/PKGBUILD | 49 |
1 files changed, 22 insertions, 27 deletions
diff --git a/pcr/mathics/PKGBUILD b/pcr/mathics/PKGBUILD index 662a99274..3d9c455f2 100644 --- a/pcr/mathics/PKGBUILD +++ b/pcr/mathics/PKGBUILD @@ -1,37 +1,32 @@ -# Maintainer (Arch): sn6uv mathics@angusgriffith.com -# Contributor (Arch): Lex Black <autumn-wind at web dot de> -# Contributor (Arch): rnestler -# Contributor (Arch): mefistofeles +# Maintainer (AUR): Victor <v1c70rp@gmail.com> +# Contributor (AUR): Stefan Husmann <stefan-husmann@t-online.de> +# Contributor (AUR): sn6uv mathics@angusgriffith.com +# Contributor (AUR): Lex Black <autumn-wind at web dot de> +# Contributor (AUR): rnestler +# Contributor (AUR): mefistofeles + +# parabola changes and rationale: +# no changes. pkgname=mathics -pkgver=0.8 -pkgrel=1 +pkgver=1.0 +pkgrel=2 +pkgdesc="A general-purpose computer algebra system." arch=('any') -pkgdesc='General-purpose online computer algebra system featuring Mathematica-compatible syntax and functions' -url='http://www.mathics.org/' +url="https://mathics.github.io/" 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' -) - -source=("https://github.com/mathics/Mathics/releases/download/v${pkgver}/mathics-${pkgver}.tar.gz") -md5sums=('05d6d1f0af9dc20f267a1d9b1b7b1831') - - -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 's/django >= 1.6, < 1.7/django>=1.6/' setup.py -} +depends=('python' 'python-colorama' 'python-django18' 'python-mpmath' + 'python-dateutil' 'python-six' 'python-sympy') +makedepends=('python-setuptools') +source=("mathics-$pkgver.tgz::https://github.com/mathics/Mathics/releases/download/v$pkgver/mathics-$pkgver.tgz") +sha256sums=('865f146738e220d4f3dfaea11bcef9330957963644a33f67a58255bc29741282') build() { - cd ${pkgname}-${pkgver} - python2 setup.py build + cd "$pkgname-$pkgver" + python setup.py build } package() { - cd ${pkgname}-${pkgver} - python2 setup.py install --root=${pkgdir} + cd "$pkgname-$pkgver" + python setup.py install --root=${pkgdir} --optimize=1 } |