community/giac to 1.9.0.23-1

This commit is contained in:
Kevin Mihelich 2022-10-22 22:02:16 +00:00
parent 74145766d0
commit 73c22ad331
2 changed files with 3 additions and 29 deletions

View file

@ -4,9 +4,9 @@
# - delete shipped x86 binary src/mkjs to force rebuild for ARM # - delete shipped x86 binary src/mkjs to force rebuild for ARM
pkgname=giac pkgname=giac
_pkgver=1.9.0-21 _pkgver=1.9.0-23
pkgver=${_pkgver//-/.} pkgver=${_pkgver//-/.}
pkgrel=2 pkgrel=1
pkgdesc='A free computer algebra system' pkgdesc='A free computer algebra system'
arch=(x86_64) arch=(x86_64)
url='http://www-fourier.ujf-grenoble.fr/~parisse/giac.html' url='http://www-fourier.ujf-grenoble.fr/~parisse/giac.html'
@ -17,15 +17,12 @@ optdepends=('perl: for pgiac')
replaces=(libgiac xcas) replaces=(libgiac xcas)
provides=(libgiac xcas) provides=(libgiac xcas)
source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgname}_$_pkgver.tar.gz source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgname}_$_pkgver.tar.gz
giac-test-pari-2.11.patch
giac-pari-2.15.patch) giac-pari-2.15.patch)
sha256sums=('120cd16f2e033817302d2a03a22bd413dc1d85df8b225ba4f76b93a7805b07fe' sha256sums=('b98e3c90977aedf45748582b45b5127285f46d83fe8e6f3632f41dcb56527a1e'
'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624'
'cb1d6e783f2a1f05c2ec7319874089e6a2ab6316f65661087796452b9b8efb21') 'cb1d6e783f2a1f05c2ec7319874089e6a2ab6316f65661087796452b9b8efb21')
prepare() { prepare() {
cd $pkgname-${pkgver%.*} cd $pkgname-${pkgver%.*}
patch -p1 < ../giac-test-pari-2.11.patch # Fix tests with pari 2.11
patch -p1 < ../giac-pari-2.15.patch # Fix build with pari 2.15 patch -p1 < ../giac-pari-2.15.patch # Fix build with pari 2.15
rm -f src/mkjs # force rebuild for ARM rm -f src/mkjs # force rebuild for ARM
} }
@ -37,12 +34,6 @@ build() {
make make
} }
check() {
cd $pkgname-${pkgver%.*}
# make check
}
package() { package() {
cd $pkgbase-${pkgver%.*} cd $pkgbase-${pkgver%.*}
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install

View file

@ -1,17 +0,0 @@
Change test output for PARI 2.11
See https://trac.sagemath.org/ticket/25567
and https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2102
diff -ru a/check/TP11-sol.cas.out1 b/check/TP11-sol.cas.out1
--- a/check/TP11-sol.cas.out1 2014-10-21 10:51:48.000000000 +0200
+++ b/check/TP11-sol.cas.out1 2018-08-07 17:04:12.528052773 +0200
@@ -10,7 +10,7 @@
1073741824000000000000000000061203284109000000000000000000000000008409,
2^3*3*389*733*156904374622257604823879982847602392900751802349981470895277241,
"Done",
-matrix[[2,7,1],[3,2,1],[389,2,1],[733,2,1],[156904374622257604823879982847602392900751802349981470895277241,2,matrix[[2,13,1],[3,3,1],[5,2,1],[7,2,1],[56467,2,1],[6553084925887974620811527,2,matrix[[2,5,1],[19,2,1],[71,2,1],[126823,2,1]]]]]],
+1,
0,
[],
1,