diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -6,7 +6,7 @@ # Contributor: Stefan Husmann <stefan-husmann at t-online dot de> pkgname=sagemath-git -pkgver=9.4.beta2.r0.g46c5c53b4d +pkgver=9.4.beta3.r0.ga60179ab6b pkgrel=1 pkgdesc='Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab' arch=(x86_64) @@ -41,18 +41,14 @@ source=(git://git.sagemath.org/sage.git#branch=develop sagemath-optional-packages.patch latte-count.patch test-optional.patch - sagemath-pari-2.13.patch sagemath-lrcalc2.patch - sagemath-eclib-20210310.patch - sagemath-matplotlib-3.4.patch) + sagemath-eclib-20210310.patch) sha256sums=('SKIP' 'c100a61c8dfade43bebc622a363abcb3d935a2f40958371ad87a9eb00689f8b0' '88e944f23c3b2391dc2e9f9be8e1131152d837dc8c829dfc714663869a272e81' 'af984186f852d2847d770a18fb6822296c50a652dbf55a1ed59d27517c3d3ee4' - '3797d5eb941b947968f6f118b92f7b1f309f3a27143785cdb6cab844402c0bdb' '240ac4c29d96d56407a20e1b7f9846e342a7eb2bb4edd6e5c86b3b5a8ff462f9' - 'e7b31f5e7ea88681c6eda41e5a74a2859a12dd128e75c00db3cfbd1d8ddf080d' - '5e6f919a386e1a9e9caf7528088a3a3f3f3fc51b158a4daf435771afb1212384') + 'e7b31f5e7ea88681c6eda41e5a74a2859a12dd128e75c00db3cfbd1d8ddf080d') pkgver() { cd sage @@ -63,14 +59,10 @@ prepare(){ cd sage # Upstream patches -# Port to PARI 2.13 https://trac.sagemath.org/ticket/30801 - patch -p1 -i ../sagemath-pari-2.13.patch # Replace lrcalc.pyx with a wrapper over lrcalc's python bindings https://trac.sagemath.org/ticket/31355 patch -p1 -i ../sagemath-lrcalc2.patch # Fix build with eclib 20210310 https://trac.sagemath.org/ticket/31443 patch -p1 -i ../sagemath-eclib-20210310.patch -# Fix deprecation warnings with matplotlib 3.4 https://trac.sagemath.org/ticket/31580 - patch -p1 -i ../sagemath-matplotlib-3.4.patch # Arch-specific patches # assume all optional packages are installed @@ -79,6 +71,9 @@ prepare(){ patch -p1 -i ../test-optional.patch # use correct latte-count binary name patch -p1 -i ../latte-count.patch + + cd build/pkgs/sagelib + ./bootstrap } build() { @@ -98,7 +93,7 @@ package() { # fix symlinks to assets _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"` - for _i in $(ls "$srcdir"/sage-$pkgver/src/sage/ext_data/notebook-ipython); do + for _i in $(ls "$srcdir"/sage/src/sage/ext_data/notebook-ipython); do rm "$pkgdir"/usr/share/jupyter/kernels/sagemath/$_i ln -s $_pythonpath/sage/ext_data/notebook-ipython/$_i "$pkgdir"/usr/share/jupyter/kernels/sagemath/ done |