diff options
-rw-r--r-- | libre/sagemath/PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/sagemath/PKGBUILD b/libre/sagemath/PKGBUILD index 663476df9..d240f0606 100644 --- a/libre/sagemath/PKGBUILD +++ b/libre/sagemath/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 159626 2016-01-30 19:54:42Z arojas $ +# $Id: PKGBUILD 161177 2016-02-11 11:05:27Z 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.0 -pkgrel=3.parabola1 +pkgrel=4.parabola1 pkgdesc="Free Mathematics Software, free software replacement of Magma, Maple, Mathematica, and Matlab, without nonfree nauty recommendation" arch=(i686 x86_64) url="http://www.sagemath.org" @@ -33,10 +33,12 @@ replaces=(sage-mathematics) provides=(sage-mathematics) source=("$pkgname-$pkgver.tar.gz::https://github.com/sagemath/sage/archive/$pkgver.tar.gz" pexpect.zip::"https://github.com/pexpect/pexpect/archive/524495960dd8898ddd30f7ba37298de51beee773.zip" + ntl-no-legacy-mulmod.patch::"http://git.sagemath.org/sage.git/patch/?id=0d8435cdf" anal.h package.patch env.patch paths.patch clean.patch skip-check.patch disable-fes.patch jupyter-path.patch test-optional.patch python-2.7.11.patch contour.patch) md5sums=('34807a7cf5dd79c008abd377ba1427fa' 'a346bb2c0350c1cb17d5325235c5e38a' + '8cd491caa5a574fb6348a02715151855' 'a906a180d198186a39820b0a2f9a9c63' '9ba81f717ffd4e20b8b2f2a318307488' 'e1b1d0d2e6b187309ae2b74489356b9a' @@ -88,6 +90,8 @@ prepare(){ # patch -p0 -i ../fes02.patch # disable fes module, fails to compile patch -p0 -i ../disable-fes.patch +# port away from deprecated NTL API http://trac.sagemath.org/19874 + patch -p1 -i ../ntl-no-legacy-mulmod.patch # use python2 sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -e 's|exec python|exec python2|' -i src/bin/* |