Date: Wednesday, September 30, 2020 @ 19:51:31 Author: arojas Revision: 714108
Run tests Added: giac/trunk/giac-test-pari-2.11.patch Modified: giac/trunk/PKGBUILD ---------------------------+ PKGBUILD | 17 +++++++++++++++-- giac-test-pari-2.11.patch | 17 +++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-09-30 19:29:37 UTC (rev 714107) +++ PKGBUILD 2020-09-30 19:51:31 UTC (rev 714108) @@ -10,9 +10,16 @@ url="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html" license=(GPL3) makedepends=(python mpfi gsl pari ntl lapack libpng libjpeg fltk texlive-core texlive-science hevea glpk libao gmp-ecm nauty libsamplerate) -source=("http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgbase}_${_pkgver}.tar.gz") -sha256sums=('b09ada1af3c9ed77a63af3359a6242cc82a7d40c02c6782df03cbda699987186') +source=("http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgbase}_${_pkgver}.tar.gz" + giac-test-pari-2.11.patch) +sha256sums=('b09ada1af3c9ed77a63af3359a6242cc82a7d40c02c6782df03cbda699987186' + 'c5f091986f0a0807fc1ae5a3b7454132816e9bc3ed64411f0a7bdf90a8c8e624') +prepare() { + cd $pkgbase-${pkgver%.*} + patch -p1 -i ../giac-test-pari-2.11.patch # Fix tests with pari 2.11 +} + build() { cd $pkgbase-${pkgver%.*} @@ -20,6 +27,12 @@ make } +check() { + cd $pkgbase-${pkgver%.*} + + make check +} + package_xcas() { depends=(libgiac fltk) optdepends=('perl: for pgiac') Added: giac-test-pari-2.11.patch =================================================================== --- giac-test-pari-2.11.patch (rev 0) +++ giac-test-pari-2.11.patch 2020-09-30 19:51:31 UTC (rev 714108) @@ -0,0 +1,17 @@ +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,