diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-26 13:52:32 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-26 13:52:32 -0300 |
commit | 581fe82ab4a2bd012556ce86996a4ed7d29bc3b2 (patch) | |
tree | d0f06822070a7fe8f2406694c1626e8534e4f859 /libre/sagemath/PKGBUILD | |
parent | 279527517ae7e8c91f54ac2af7df1dd5ae1f5c58 (diff) |
sagemath-7.4-11.parabola1: pynac 0.7.1 and libgap 4.8.6 rebuild
Diffstat (limited to 'libre/sagemath/PKGBUILD')
-rw-r--r-- | libre/sagemath/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libre/sagemath/PKGBUILD b/libre/sagemath/PKGBUILD index bd758902e..e720ec07f 100644 --- a/libre/sagemath/PKGBUILD +++ b/libre/sagemath/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 196368 2016-11-20 12:14:08Z arojas $ +# $Id: PKGBUILD 196873 2016-11-25 20:11:55Z arojas $ # Maintainer (Arch): Evgeniy Alekseev <arcanis.arch at gmail dot com> # Maintainer (Arch): Antonio Rojas <arojas@archlinux.org> # Contributor (Arch): Daniel Wallace <danielwallace at gtmanfred dot com> @@ -11,12 +11,12 @@ pkgname=sagemath pkgver=7.4 -pkgrel=8.parabola1 +pkgrel=11.parabola1 pkgdesc="Free Mathematics Software, free software replacement of Magma, Maple, Mathematica, and Matlab, without nonfree nauty support" arch=(i686 x86_64 armv7h) url="http://www.sagemath.org" license=(GPL) -depends=(ipython2 ppl palp brial singular cliquer maxima-ecl gfan sympow tachyon python2-rpy2 python2-fpylll +depends=(ipython2 ppl palp brial cliquer maxima-ecl gfan sympow tachyon python2-rpy2 python2-fpylll python2-matplotlib python2-scipy python2-sympy python2-networkx python2-pillow python2-future libgap flintqs lcalc lrcalc arb eclib gmp-ecm zn_poly gd python2-cvxopt pynac linbox rubiks pari-galdata pari-seadata-small planarity rankwidth sage-data-combinatorial_designs sage-data-elliptic_curves sage-data-graphs sage-data-polytopes_db sage-data-conway_polynomials) @@ -38,7 +38,7 @@ provides=(sage-mathematics) source=("$pkgname-$pkgver.tar.gz::https://github.com/sagemath/sage/archive/$pkgver.tar.gz" env.patch skip-check.patch cython-sys-path.patch is-package-installed.patch package.patch disable-fes.patch jupyter-path.patch test-optional.patch python-2.7.11.patch ecm-7.patch increase-rtol.patch sagemath-singular4.patch - sagemath-cython0.25.patch) + sagemath-cython0.25.patch pynac-0.7.1.patch) md5sums=('8311ee35a309dbc668b5148795211254' '784ba3fca83f24ed0bbf62e01fa4e967' '6cafcb381437d4751fd55b25d5090987' @@ -52,7 +52,8 @@ md5sums=('8311ee35a309dbc668b5148795211254' '0c9a57d35de80c2cd418ebec912efbbb' '39d3fded716d2a7ae0ab03e0896b7497' '4bd7305e8b69add8356f9751470cf587' - '0ba2b4266f14b19319ece3996be70511') + 'e76faa070a490de97818762ba340d9dc' + '32da930dcb7c4718acf0188e090c07b9') prepare(){ cd sage-$pkgver @@ -92,11 +93,13 @@ prepare(){ patch -p1 -i ../sagemath-singular4.patch # fix build with cython 0.25 patch -p1 -i ../sagemath-cython0.25.patch +# port to pynac 0.7.1 + patch -p1 -i ../pynac-0.7.1.patch # use python2 sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -e 's|exec python|exec python2|' -i src/bin/* sed -e 's|cython {OPT}|cython2 {OPT}|' -e 's|python setup.py|python2 setup.py|' -i src/sage/misc/cython.py - sed -e 's|exec ipython|exec ipython2|' -e 's|cygdb|cygdb2|' -i src/bin/sage + sed -e 's|exec ipython|exec ipython2|' -e 's|cygdb|cygdb2|g' -i src/bin/sage sed -e "s|'cython'|'cython2'|" -i src/bin/sage-cython sed -e 's|python -c|python2 -c|' -i src/generate_py_source.mk sed -e 's|bin/python|bin/python2|g' -i src/bin/sage-env |