diff options
Diffstat (limited to 'libre/sagemath/PKGBUILD')
-rw-r--r-- | libre/sagemath/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libre/sagemath/PKGBUILD b/libre/sagemath/PKGBUILD index 182405106..6c63c4dfa 100644 --- a/libre/sagemath/PKGBUILD +++ b/libre/sagemath/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 197484 2016-12-01 06:57:57Z arojas $ +# $Id: PKGBUILD 197777 2016-12-02 21:06:23Z 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,7 +11,7 @@ pkgname=sagemath pkgver=7.4 -pkgrel=12.parabola1 +pkgrel=13.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" @@ -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 pynac-0.7.1.patch) + sagemath-cython0.25.patch pynac-0.7.1.patch sagemath-python2-pkgconfig-1.2.patch) md5sums=('8311ee35a309dbc668b5148795211254' '784ba3fca83f24ed0bbf62e01fa4e967' '6cafcb381437d4751fd55b25d5090987' @@ -53,7 +53,8 @@ md5sums=('8311ee35a309dbc668b5148795211254' '39d3fded716d2a7ae0ab03e0896b7497' '4bd7305e8b69add8356f9751470cf587' 'e76faa070a490de97818762ba340d9dc' - '32da930dcb7c4718acf0188e090c07b9') + '32da930dcb7c4718acf0188e090c07b9' + '329a483b16c0e1960b15b3ca3082f2d0') prepare(){ cd sage-$pkgver @@ -96,6 +97,9 @@ prepare(){ # port to pynac 0.7.1 patch -p1 -i ../pynac-0.7.1.patch +# fix build with python2-pkgconfig 1.2 + patch -p1 -i ../sagemath-python2-pkgconfig-1.2.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 |