[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, November 2, 2020 @ 22:34:37 Author: arojas Revision: 740100 Honor system LDFLAGS, build statically linked gp in build(), fix RPATH, add database optdepends Modified: pari/trunk/PKGBUILD --+ PKGBUILD | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-02 21:09:51 UTC (rev 740099) +++ PKGBUILD2020-11-02 22:34:37 UTC (rev 740100) @@ -3,19 +3,29 @@ pkgname=pari pkgver=2.13.0 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=(GPL) arch=(x86_64) -depends=(gmp readline libx11) -makedepends=(perl texlive-core) -optdepends=('perl: gphelp, tex2mail') +depends=(gmp libx11) +makedepends=(perl texlive-core chrpath) +optdepends=('perl: gphelp, tex2mail' +'pari-elldata: J. Cremona elliptic curve database' +'pari-galdata: to compute Galois groups in degrees 8 through 11' +'pari-seadata: needed by ellap for large primes' +'pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz"{,.asc}) sha256sums=('c811946de9d2c1ed0e97ff08e80d966f9a0b55848b7688406fab229e3948ba93' 'SKIP') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') +prepare() { + cd $pkgname-$pkgver + + sed -e 's|DLLDFLAGS = \$DLLDFLAGS|DLLDFLAGS = $DLLDFLAGS $LDFLAGS|' -i config/Makefile.SH # Honor system LDFLAGS +} + build() { cd $pkgname-$pkgver @@ -30,6 +40,7 @@ --mt=pthread \ --with-gmp make all + make -C Olinux-x86_64 gp-sta } check() { @@ -40,8 +51,7 @@ package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" -C Olinux-x86_64 install-bin-sta ln -sf gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1 - - cd Olinux-x86_64 - make DESTDIR="$pkgdir" install-bin-sta + chrpath -d "$pkgdir"/usr/bin/gp-* }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, October 19, 2020 @ 18:57:52 Author: arojas Revision: 727220 Update to 2.13.0 Modified: pari/trunk/PKGBUILD --+ PKGBUILD | 61 + 1 file changed, 29 insertions(+), 32 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-19 18:18:46 UTC (rev 727219) +++ PKGBUILD2020-10-19 18:57:52 UTC (rev 727220) @@ -1,50 +1,47 @@ -# Maintainer: Gaetan Bisson +# Maintainer: Antonio Rojas +# Contributor: Gaetan Bisson pkgname=pari -pkgver=2.11.4 -pkgrel=3 +pkgver=2.13.0 +pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' -license=('GPL') -arch=('x86_64') -depends=('gmp' 'readline' 'libx11') -makedepends=('perl' 'texlive-core') +license=(GPL) +arch=(x86_64) +depends=(gmp readline libx11) +makedepends=(perl texlive-core) optdepends=('perl: gphelp, tex2mail') +source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz"{,.asc}) +sha256sums=('c811946de9d2c1ed0e97ff08e80d966f9a0b55848b7688406fab229e3948ba93' +'SKIP') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') -source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('bfc88fc4f7352f4840e6e352c72f0369cbea8a45403b1834a6269f3709970b1c' -'SKIP') -conflicts=('pari-sage') -replaces=("pari-sage<=1:${pkgver}") - build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver - # Upstream Bill Allombert recommends linking gp statically against - # libpari.so with -flto to recover speed losses incurred when enabling - # pthread support. That's also what he now does for the Debian package. - export CFLAGS+=' -flto' + # Upstream Bill Allombert recommends linking gp statically against + # libpari.so with -flto to recover speed losses incurred when enabling + # pthread support. That's also what he now does for the Debian package. + export CFLAGS+=' -flto' - ./Configure \ - --prefix=/usr \ - --with-readline \ - --mt=pthread \ - --with-gmp \ - - make all + ./Configure \ +--prefix=/usr \ +--with-readline \ +--mt=pthread \ +--with-gmp + make all } check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make bench + cd $pkgname-$pkgver + make bench } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1 + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + ln -sf gp.1.gz "$pkgdir"/usr/share/man/man1/pari.1 - cd Olinux-x86_64 - make DESTDIR="${pkgdir}" install-bin-sta + cd Olinux-x86_64 + make DESTDIR="$pkgdir" install-bin-sta }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Sunday, August 30, 2020 @ 10:50:32 Author: foutrelis Revision: 692650 upgpkg: pari 2.11.4-3: rebuild bisson's pkgs Modified: pari/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-08-30 10:50:30 UTC (rev 692649) +++ PKGBUILD2020-08-30 10:50:32 UTC (rev 692650) @@ -2,7 +2,7 @@ pkgname=pari pkgver=2.11.4 -pkgrel=2 +pkgrel=3 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=('GPL')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Saturday, April 25, 2020 @ 20:40:28 Author: bisson Revision: 621054 remove stray space Modified: pari/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-04-25 20:33:49 UTC (rev 621053) +++ PKGBUILD2020-04-25 20:40:28 UTC (rev 621054) @@ -46,5 +46,5 @@ ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1 cd Olinux-x86_64 - make DESTDIR="${pkgdir}" install-bin-sta + make DESTDIR="${pkgdir}" install-bin-sta }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Saturday, April 25, 2020 @ 20:33:03 Author: bisson Revision: 621052 improve interpreter speed by a factor of two Modified: pari/trunk/PKGBUILD --+ PKGBUILD | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-04-25 20:03:59 UTC (rev 621051) +++ PKGBUILD2020-04-25 20:33:03 UTC (rev 621052) @@ -2,7 +2,7 @@ pkgname=pari pkgver=2.11.4 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=('GPL') @@ -20,6 +20,12 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # Upstream Bill Allombert recommends linking gp statically against + # libpari.so with -flto to recover speed losses incurred when enabling + # pthread support. That's also what he now does for the Debian package. + export CFLAGS+=' -flto' + ./Configure \ --prefix=/usr \ --with-readline \ @@ -38,4 +44,7 @@ cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1 + + cd Olinux-x86_64 + make DESTDIR="${pkgdir}" install-bin-sta }
[arch-commits] Commit in pari/trunk (PKGBUILD c7a1d35f.patch)
Date: Friday, April 17, 2020 @ 19:35:59 Author: bisson Revision: 615758 upstream update Modified: pari/trunk/PKGBUILD Deleted: pari/trunk/c7a1d35f.patch + PKGBUILD | 17 + c7a1d35f.patch | 38 -- 2 files changed, 5 insertions(+), 50 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-17 19:35:20 UTC (rev 615757) +++ PKGBUILD2020-04-17 19:35:59 UTC (rev 615758) @@ -1,8 +1,8 @@ # Maintainer: Gaetan Bisson pkgname=pari -pkgver=2.11.3 -pkgrel=2 +pkgver=2.11.4 +pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=('GPL') @@ -11,20 +11,13 @@ makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') -source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc} -'c7a1d35f.patch') -sha256sums=('c7100a467eaf908942bb403cbd38036a26d7222e6ee6d39b50ab667d052ca6c9' -'SKIP' -'a1cbb79f04d686f6c5e2e61e3240bd28aeab786690502981d5da2da5a2fbcb05') +source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) +sha256sums=('bfc88fc4f7352f4840e6e352c72f0369cbea8a45403b1834a6269f3709970b1c' +'SKIP') conflicts=('pari-sage') replaces=("pari-sage<=1:${pkgver}") -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../c7a1d35f.patch -} - build() { cd "${srcdir}/${pkgname}-${pkgver}" ./Configure \ Deleted: c7a1d35f.patch === --- c7a1d35f.patch 2020-04-17 19:35:20 UTC (rev 615757) +++ c7a1d35f.patch 2020-04-17 19:35:59 UTC (rev 615758) @@ -1,38 +0,0 @@ -diff -Naur old/src/basemath/buch2.c new/src/basemath/buch2.c old/src/basemath/buch2.c 2020-03-07 21:03:06.784293669 -1000 -+++ new/src/basemath/buch2.c 2020-03-07 21:03:14.577801531 -1000 -@@ -2143,7 +2143,8 @@ - for (i = 1; i < RU; i++) - if (gexpo(gel(emb,i)) > -1) break; - p1 = imag_i( row_i(logunit,i, 1,RU-1) ); -- p1 = RgV_dotproduct(p1, ex); if (!R1) p1 = gmul2n(p1, -1); -+ p1 = RgV_dotproduct(p1, ex); -+ if (i > R1) p1 = gmul2n(p1, -1); - p1 = gsub(garg(gel(emb,i),prec), p1); - /* p1 = arg(the missing root of 1) */ - -diff -Naur old/src/test/32/nf new/src/test/32/nf old/src/test/32/nf 2020-03-07 21:03:06.770947894 -1000 -+++ new/src/test/32/nf 2020-03-07 21:03:14.577801531 -1000 -@@ -494,6 +494,7 @@ - [1, 1/2*x - 1/2] - Mod(0, x) - Mod(-6/5, x) -+[0, 2, Mod(0, 2)]~ - *** at top-level: nfinit([y^3+2,[1,x]]) - *** ^- - *** nfinit: incorrect type in nfbasic_init (t_VEC). -diff -Naur old/src/test/in/nf new/src/test/in/nf old/src/test/in/nf 2020-03-07 21:03:06.780957225 -1000 -+++ new/src/test/in/nf 2020-03-07 21:03:14.577801531 -1000 -@@ -150,6 +150,10 @@ - nfinit(x, 3)[2] - nfinit(1/2*x + 3/5, 3)[2] - -+\\ #2164 -+bnf = bnfinit(y^4-y-1); -+bnfisunit(bnf,-y^3+2*y^2-1) -+ - \\ ERRORS: keep at end of file - - nfinit([y^3+2,[1,x]])
[arch-commits] Commit in pari/trunk (PKGBUILD c7a1d35f.patch)
Date: Sunday, March 8, 2020 @ 07:29:06 Author: bisson Revision: 591462 fix FS#65736 Added: pari/trunk/c7a1d35f.patch Modified: pari/trunk/PKGBUILD + PKGBUILD | 13 ++--- c7a1d35f.patch | 38 ++ 2 files changed, 48 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-08 07:09:12 UTC (rev 591461) +++ PKGBUILD2020-03-08 07:29:06 UTC (rev 591462) @@ -2,7 +2,7 @@ pkgname=pari pkgver=2.11.3 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=('GPL') @@ -11,13 +11,20 @@ makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') -source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) +source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc} +'c7a1d35f.patch') sha256sums=('c7100a467eaf908942bb403cbd38036a26d7222e6ee6d39b50ab667d052ca6c9' -'SKIP') +'SKIP' +'a1cbb79f04d686f6c5e2e61e3240bd28aeab786690502981d5da2da5a2fbcb05') conflicts=('pari-sage') replaces=("pari-sage<=1:${pkgver}") +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../c7a1d35f.patch +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" ./Configure \ Added: c7a1d35f.patch === --- c7a1d35f.patch (rev 0) +++ c7a1d35f.patch 2020-03-08 07:29:06 UTC (rev 591462) @@ -0,0 +1,38 @@ +diff -Naur old/src/basemath/buch2.c new/src/basemath/buch2.c +--- old/src/basemath/buch2.c 2020-03-07 21:03:06.784293669 -1000 new/src/basemath/buch2.c 2020-03-07 21:03:14.577801531 -1000 +@@ -2143,7 +2143,8 @@ + for (i = 1; i < RU; i++) + if (gexpo(gel(emb,i)) > -1) break; + p1 = imag_i( row_i(logunit,i, 1,RU-1) ); +- p1 = RgV_dotproduct(p1, ex); if (!R1) p1 = gmul2n(p1, -1); ++ p1 = RgV_dotproduct(p1, ex); ++ if (i > R1) p1 = gmul2n(p1, -1); + p1 = gsub(garg(gel(emb,i),prec), p1); + /* p1 = arg(the missing root of 1) */ + +diff -Naur old/src/test/32/nf new/src/test/32/nf +--- old/src/test/32/nf 2020-03-07 21:03:06.770947894 -1000 new/src/test/32/nf 2020-03-07 21:03:14.577801531 -1000 +@@ -494,6 +494,7 @@ + [1, 1/2*x - 1/2] + Mod(0, x) + Mod(-6/5, x) ++[0, 2, Mod(0, 2)]~ + *** at top-level: nfinit([y^3+2,[1,x]]) + *** ^- + *** nfinit: incorrect type in nfbasic_init (t_VEC). +diff -Naur old/src/test/in/nf new/src/test/in/nf +--- old/src/test/in/nf 2020-03-07 21:03:06.780957225 -1000 new/src/test/in/nf 2020-03-07 21:03:14.577801531 -1000 +@@ -150,6 +150,10 @@ + nfinit(x, 3)[2] + nfinit(1/2*x + 3/5, 3)[2] + ++\\ #2164 ++bnf = bnfinit(y^4-y-1); ++bnfisunit(bnf,-y^3+2*y^2-1) ++ + \\ ERRORS: keep at end of file + + nfinit([y^3+2,[1,x]])
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Tuesday, March 3, 2020 @ 17:13:43 Author: bisson Revision: 589786 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-03 16:45:25 UTC (rev 589785) +++ PKGBUILD2020-03-03 17:13:43 UTC (rev 589786) @@ -1,7 +1,7 @@ # Maintainer: Gaetan Bisson pkgname=pari -pkgver=2.11.2 +pkgver=2.11.3 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' @@ -12,7 +12,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('4a6532b3c77350363fa618ead5cd794a172d7b7e5757a28f7788e658b5469339' +sha256sums=('c7100a467eaf908942bb403cbd38036a26d7222e6ee6d39b50ab667d052ca6c9' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, May 13, 2019 @ 01:02:30 Author: bisson Revision: 467110 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-13 00:09:27 UTC (rev 467109) +++ PKGBUILD2019-05-13 01:02:30 UTC (rev 467110) @@ -1,8 +1,8 @@ # Maintainer: Gaetan Bisson pkgname=pari -pkgver=2.11.1 -pkgrel=2 +pkgver=2.11.2 +pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=('GPL') @@ -12,7 +12,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('24a9b324a6e9fb161f49dd93aa4dc3f8bb8996c96050ee0468b2f92b45eacac9' +sha256sums=('4a6532b3c77350363fa618ead5cd794a172d7b7e5757a28f7788e658b5469339' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, January 11, 2019 @ 07:05:02 Author: foutrelis Revision: 422211 Readline 8.0 rebuild Modified: pari/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-01-11 06:53:22 UTC (rev 422210) +++ PKGBUILD2019-01-11 07:05:02 UTC (rev 422211) @@ -2,7 +2,7 @@ pkgname=pari pkgver=2.11.1 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=('GPL')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, December 3, 2018 @ 05:21:08 Author: bisson Revision: 410819 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-02 23:22:51 UTC (rev 410818) +++ PKGBUILD2018-12-03 05:21:08 UTC (rev 410819) @@ -1,7 +1,7 @@ # Maintainer: Gaetan Bisson pkgname=pari -pkgver=2.11.0 +pkgver=2.11.1 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' @@ -12,7 +12,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('3835caccaa3e0c64764521032d89efeb8773cce841f6655fec6d58e790f4c9a1' +sha256sums=('24a9b324a6e9fb161f49dd93aa4dc3f8bb8996c96050ee0468b2f92b45eacac9' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Thursday, July 19, 2018 @ 16:28:22 Author: bisson Revision: 362408 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-19 16:23:37 UTC (rev 362407) +++ PKGBUILD2018-07-19 16:28:22 UTC (rev 362408) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson pkgname=pari -pkgver=2.9.5 +pkgver=2.11.0 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('6b451825b41d2f8b29592c08d671999527bf936789c599d77b8dfdc663f1e617' +sha256sums=('3835caccaa3e0c64764521032d89efeb8773cce841f6655fec6d58e790f4c9a1' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Saturday, May 19, 2018 @ 01:42:57 Author: bisson Revision: 324311 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-18 22:44:43 UTC (rev 324310) +++ PKGBUILD2018-05-19 01:42:57 UTC (rev 324311) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.9.4 +pkgver=2.9.5 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('4f9cdc739630a039c0fcc9afac2e5647659c4a709dcc6f7a69d5908cd4a82647' +sha256sums=('6b451825b41d2f8b29592c08d671999527bf936789c599d77b8dfdc663f1e617' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, January 8, 2018 @ 22:12:20 Author: bisson Revision: 280585 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-08 21:31:24 UTC (rev 280584) +++ PKGBUILD2018-01-08 22:12:20 UTC (rev 280585) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.9.3 +pkgver=2.9.4 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('e76a27779d2b1210ce1aba48363b98dd201a1bf876eb14f46ea6bd7769a00a63' +sha256sums=('4f9cdc739630a039c0fcc9afac2e5647659c4a709dcc6f7a69d5908cd4a82647' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, August 4, 2017 @ 09:02:15 Author: bisson Revision: 248146 use https source Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-08-04 09:02:09 UTC (rev 248145) +++ PKGBUILD2017-08-04 09:02:15 UTC (rev 248146) @@ -5,7 +5,7 @@ pkgver=2.9.3 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' -url='http://pari.math.u-bordeaux.fr/' +url='https://pari.math.u-bordeaux.fr/' license=('GPL') arch=('i686' 'x86_64') depends=('gmp' 'readline' 'libx11') @@ -12,7 +12,7 @@ makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') -source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) +source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) sha256sums=('e76a27779d2b1210ce1aba48363b98dd201a1bf876eb14f46ea6bd7769a00a63' 'SKIP')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Saturday, July 15, 2017 @ 06:32:20 Author: bisson Revision: 245167 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-07-15 06:32:05 UTC (rev 245166) +++ PKGBUILD2017-07-15 06:32:20 UTC (rev 245167) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.9.2 +pkgver=2.9.3 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('9aa24cbbcf4e0b09dcc21cf9b09f2eb08e38ee16ab13651be7274c9b3e46207e' +sha256sums=('e76a27779d2b1210ce1aba48363b98dd201a1bf876eb14f46ea6bd7769a00a63' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Wednesday, April 5, 2017 @ 20:04:27 Author: bisson Revision: 220754 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-04-05 20:02:16 UTC (rev 220753) +++ PKGBUILD2017-04-05 20:04:27 UTC (rev 220754) @@ -2,8 +2,8 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.9.1 -pkgrel=3 +pkgver=2.9.2 +pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL') @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('dc510f96686463c1ade7c2a6e16fa9466fd4af6a65fddf9822ba07d7d2e70767' +sha256sums=('9aa24cbbcf4e0b09dcc21cf9b09f2eb08e38ee16ab13651be7274c9b3e46207e' 'SKIP') conflicts=('pari-sage')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Thursday, March 2, 2017 @ 01:00:01 Author: bisson Revision: 214402 switch to sha256sum Modified: pari/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-03-02 00:59:58 UTC (rev 214401) +++ PKGBUILD2017-03-02 01:00:01 UTC (rev 214402) @@ -13,7 +13,8 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha1sums=('ad6af366153ae160aaa4cb49edf3a32a69f7afc1' 'SKIP') +sha256sums=('dc510f96686463c1ade7c2a6e16fa9466fd4af6a65fddf9822ba07d7d2e70767' +'SKIP') conflicts=('pari-sage') replaces=("pari-sage<=1:${pkgver}")
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Tuesday, January 24, 2017 @ 18:49:25 Author: bisson Revision: 208922 anal.h not required anymore Modified: pari/trunk/PKGBUILD --+ PKGBUILD |3 --- 1 file changed, 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-24 18:25:37 UTC (rev 208921) +++ PKGBUILD2017-01-24 18:49:25 UTC (rev 208922) @@ -38,7 +38,4 @@ cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1 - - # required by sagemath - install -Dm644 src/language/anal.h "${pkgdir}"/usr/include/pari/anal.h }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, January 13, 2017 @ 16:27:37 Author: bisson Revision: 207220 better replacement of pari-sage Modified: pari/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-13 15:18:49 UTC (rev 207219) +++ PKGBUILD2017-01-13 16:27:37 UTC (rev 207220) @@ -3,7 +3,7 @@ pkgname=pari pkgver=2.9.1 -pkgrel=2 +pkgrel=3 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL') @@ -16,8 +16,7 @@ sha1sums=('ad6af366153ae160aaa4cb49edf3a32a69f7afc1' 'SKIP') conflicts=('pari-sage') -provides=("pari-sage=1:${pkgver}") -replaces=("pari-sage=1:${pkgver}") +replaces=("pari-sage<=1:${pkgver}") build() { cd "${srcdir}/${pkgname}-${pkgver}"
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, January 13, 2017 @ 10:36:35 Author: bisson Revision: 207194 replace pari-sage Modified: pari/trunk/PKGBUILD --+ PKGBUILD |9 - 1 file changed, 8 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-01-13 09:41:38 UTC (rev 207193) +++ PKGBUILD2017-01-13 10:36:35 UTC (rev 207194) @@ -3,7 +3,7 @@ pkgname=pari pkgver=2.9.1 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL') @@ -15,6 +15,10 @@ source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) sha1sums=('ad6af366153ae160aaa4cb49edf3a32a69f7afc1' 'SKIP') +conflicts=('pari-sage') +provides=("pari-sage=1:${pkgver}") +replaces=("pari-sage=1:${pkgver}") + build() { cd "${srcdir}/${pkgname}-${pkgver}" ./Configure \ @@ -35,4 +39,7 @@ cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install ln -sf gp.1.gz "${pkgdir}"/usr/share/man/man1/pari.1 + + # required by sagemath + install -Dm644 src/language/anal.h "${pkgdir}"/usr/include/pari/anal.h }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, December 2, 2016 @ 02:55:37 Author: bisson Revision: 197667 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-12-02 02:30:58 UTC (rev 197666) +++ PKGBUILD2016-12-02 02:55:37 UTC (rev 197667) @@ -2,8 +2,8 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.9.0 -pkgrel=2 +pkgver=2.9.1 +pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL') @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha1sums=('888d7a2e1df0a97d473f3f09bbc3088d94498454' 'SKIP') +sha1sums=('ad6af366153ae160aaa4cb49edf3a32a69f7afc1' 'SKIP') build() { cd "${srcdir}/${pkgname}-${pkgver}"
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, November 7, 2016 @ 01:04:11 Author: foutrelis Revision: 194839 readline 7.0 rebuild Modified: pari/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-11-07 00:42:51 UTC (rev 194838) +++ PKGBUILD2016-11-07 01:04:11 UTC (rev 194839) @@ -3,7 +3,7 @@ pkgname=pari pkgver=2.9.0 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Wednesday, November 2, 2016 @ 20:57:14 Author: bisson Revision: 194553 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-11-02 20:55:47 UTC (rev 194552) +++ PKGBUILD2016-11-02 20:57:14 UTC (rev 194553) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.7.6 +pkgver=2.9.0 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -13,13 +13,8 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha1sums=('b8c803e82740ffe6548f84e94e2ddb70786dd0fb' 'SKIP') +sha1sums=('888d7a2e1df0a97d473f3f09bbc3088d94498454' 'SKIP') -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed 's/\$addlib64//g' -i config/get_libpth -} - build() { cd "${srcdir}/${pkgname}-${pkgver}" ./Configure \
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Tuesday, June 21, 2016 @ 11:04:09 Author: bisson Revision: 180689 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-06-21 10:57:36 UTC (rev 180688) +++ PKGBUILD2016-06-21 11:04:09 UTC (rev 180689) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.7.5 +pkgver=2.7.6 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha1sums=('ca6f6bc57d2028df5a5bddd3810a82cb05d139f2' 'SKIP') +sha1sums=('b8c803e82740ffe6548f84e94e2ddb70786dd0fb' 'SKIP') prepare() { cd "${srcdir}/${pkgname}-${pkgver}"
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Tuesday, November 10, 2015 @ 04:53:48 Author: bisson Revision: 146466 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-11-10 03:25:57 UTC (rev 146465) +++ PKGBUILD2015-11-10 03:53:48 UTC (rev 146466) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bissonpkgname=pari -pkgver=2.7.4 +pkgver=2.7.5 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -11,8 +11,9 @@ depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') -source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz;) -sha1sums=('44c11bbc90356f66d7e6b2d5cdc1a21dbc24829e') +validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') +source=("http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}) +sha1sums=('ca6f6bc57d2028df5a5bddd3810a82cb05d139f2' 'SKIP') prepare() { cd "${srcdir}/${pkgname}-${pkgver}"
[arch-commits] Commit in pari/trunk (PKGBUILD err_handle.patch)
Date: Saturday, June 20, 2015 @ 14:16:11 Author: bisson Revision: 135640 upstream update Modified: pari/trunk/PKGBUILD Deleted: pari/trunk/err_handle.patch --+ PKGBUILD |9 +--- err_handle.patch | 105 - 2 files changed, 3 insertions(+), 111 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-06-20 09:44:15 UTC (rev 135639) +++ PKGBUILD2015-06-20 12:16:11 UTC (rev 135640) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.7.3 +pkgver=2.7.4 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -11,15 +11,12 @@ depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') -source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz; -'err_handle.patch') -sha1sums=('fa01d548839301958564a2bec39928ba3c9c9d39' - '182066ab765eddb0b7fd98b441c158304545f5ec') +source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz;) +sha1sums=('44c11bbc90356f66d7e6b2d5cdc1a21dbc24829e') prepare() { cd ${srcdir}/${pkgname}-${pkgver} sed 's/\$addlib64//g' -i config/get_libpth - patch -p1 -i ../err_handle.patch # sage-5.6 uses this¸ from upstream trunk } build() { Deleted: err_handle.patch === --- err_handle.patch2015-06-20 09:44:15 UTC (rev 135639) +++ err_handle.patch2015-06-20 12:16:11 UTC (rev 135640) @@ -1,105 +0,0 @@ -Add cb_pari_err_handle() callback - -Backported from upstream commits -e9e659dc9ecb5ca6a8296c7922528a4ecbb89cb0 -26a7ae0f42918407febe9901ded41faf26ef43a6 - -diff -ru src/src/headers/paricom.h b/src/headers/paricom.h src/src/headers/paricom.h 2014-03-25 09:59:21.0 +0100 -+++ b/src/headers/paricom.h2015-01-13 19:41:47.430885048 +0100 -@@ -81,6 +81,7 @@ - extern int (*cb_pari_whatnow)(PariOUT *out, const char *, int); - extern void (*cb_pari_sigint)(void); - extern int (*cb_pari_handle_exception)(long); -+extern int (*cb_pari_err_handle)(GEN); - extern void (*cb_pari_pre_recover)(long); - extern void (*cb_pari_err_recover)(long); - extern const char *pari_library_path; -diff -ru src/src/language/init.c b/src/language/init.c src/src/language/init.c2015-01-13 19:40:30.643622993 +0100 -+++ b/src/language/init.c 2015-01-13 19:41:47.431884833 +0100 -@@ -87,6 +87,7 @@ - - void (*cb_pari_ask_confirm)(const char *); - int (*cb_pari_handle_exception)(long); -+int (*cb_pari_err_handle)(GEN); - int (*cb_pari_whatnow)(PariOUT *out, const char *, int); - void (*cb_pari_sigint)(void); - void (*cb_pari_pre_recover)(long); -@@ -732,6 +733,8 @@ - static void - dflt_err_recover(long errnum) { (void) errnum; pari_exit(); } - -+static int pari_err_display(GEN err); -+ - /* initialize PARI data. Initialize [new|old]fun to NULL for default set. */ - void - pari_init_opts(size_t parisize, ulong maxprime, ulong init_opts) -@@ -739,6 +742,8 @@ - ulong u; - - cb_pari_whatnow = NULL; -+ cb_pari_handle_exception = NULL; -+ cb_pari_err_handle = pari_err_display; - cb_pari_pre_recover = NULL; - cb_pari_sigint = dflt_sigint_fun; - if (init_optsINIT_JMPm) cb_pari_err_recover = dflt_err_recover; -@@ -887,9 +892,6 @@ - evalstate_reset(); - killallfiles(); - pari_init_errcatch(); -- out_puts(pariErr, \n); -- pariErr-flush(); -- - cb_pari_err_recover(numerr); - } - -@@ -1266,21 +1268,22 @@ - return NULL; /*NOT REACHED*/ - } - --static void -+static int - pari_err_display(GEN err) - { - long numerr=err_get_num(err); -+ err_init(); - if (numerr==e_SYNTAX) - { - const char *msg = GSTR(gel(err,2)); - const char *s = (const char *) gmael(err,3,1); - const char *entry = (const char *) gmael(err,3,2); - print_errcontext(pariErr, msg, s, entry); --return; - } - else - { - char *s = pari_err2str(err); -+closure_err(0); - err_init_msg(numerr, e_USER); - pariErr-puts(s); - if (numerr==e_NOTFUNC) -@@ -1295,6 +1298,8 @@ - } - pari_free(s); - } -+ out_term_color(pariErr, c_NONE); -+ pariErr-flush(); return 0; - } - - void -@@ -1315,12 +1320,9 @@ - global_err_data = E; - if (*iferr_env) longjmp(*iferr_env, numerr); - mt_err_recover(numerr); -- err_init(); -- if (numerr != e_SYNTAX) closure_err(0); -- pari_err_display(E); -- out_term_color(pariErr, c_NONE); - va_end(ap); -- pariErr-flush(); -+ if (cb_pari_err_handle -+ cb_pari_err_handle(E)) return; - if (cb_pari_handle_exception - cb_pari_handle_exception(numerr)) return; - err_recover(numerr);
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, February 20, 2015 @ 09:45:21 Author: bisson Revision: 128021 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-02-20 08:31:41 UTC (rev 128020) +++ PKGBUILD2015-02-20 08:45:21 UTC (rev 128021) @@ -2,8 +2,8 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.7.2 -pkgrel=2 +pkgver=2.7.3 +pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL') @@ -13,7 +13,7 @@ optdepends=('perl: gphelp, tex2mail') source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz; 'err_handle.patch') -sha1sums=('27ef49c39860055ff97608bc323bff2afda1aa51' +sha1sums=('fa01d548839301958564a2bec39928ba3c9c9d39' '182066ab765eddb0b7fd98b441c158304545f5ec') prepare() {
[arch-commits] Commit in pari/trunk (PKGBUILD err_handle.patch)
Date: Saturday, February 14, 2015 @ 18:19:15 Author: bisson Revision: 127692 add err_handle patch for sage-5.6 Added: pari/trunk/err_handle.patch Modified: pari/trunk/PKGBUILD --+ PKGBUILD | 10 +++-- err_handle.patch | 105 + 2 files changed, 111 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-02-14 06:19:35 UTC (rev 127691) +++ PKGBUILD2015-02-14 17:19:15 UTC (rev 127692) @@ -3,7 +3,7 @@ pkgname=pari pkgver=2.7.2 -pkgrel=1 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' license=('GPL') @@ -11,13 +11,15 @@ depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') -validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') -source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) -sha1sums=('27ef49c39860055ff97608bc323bff2afda1aa51' 'SKIP') +source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz; +'err_handle.patch') +sha1sums=('27ef49c39860055ff97608bc323bff2afda1aa51' + '182066ab765eddb0b7fd98b441c158304545f5ec') prepare() { cd ${srcdir}/${pkgname}-${pkgver} sed 's/\$addlib64//g' -i config/get_libpth + patch -p1 -i ../err_handle.patch # sage-5.6 uses this¸ from upstream trunk } build() { Added: err_handle.patch === --- err_handle.patch(rev 0) +++ err_handle.patch2015-02-14 17:19:15 UTC (rev 127692) @@ -0,0 +1,105 @@ +Add cb_pari_err_handle() callback + +Backported from upstream commits +e9e659dc9ecb5ca6a8296c7922528a4ecbb89cb0 +26a7ae0f42918407febe9901ded41faf26ef43a6 + +diff -ru src/src/headers/paricom.h b/src/headers/paricom.h +--- src/src/headers/paricom.h 2014-03-25 09:59:21.0 +0100 b/src/headers/paricom.h2015-01-13 19:41:47.430885048 +0100 +@@ -81,6 +81,7 @@ + extern int (*cb_pari_whatnow)(PariOUT *out, const char *, int); + extern void (*cb_pari_sigint)(void); + extern int (*cb_pari_handle_exception)(long); ++extern int (*cb_pari_err_handle)(GEN); + extern void (*cb_pari_pre_recover)(long); + extern void (*cb_pari_err_recover)(long); + extern const char *pari_library_path; +diff -ru src/src/language/init.c b/src/language/init.c +--- src/src/language/init.c2015-01-13 19:40:30.643622993 +0100 b/src/language/init.c 2015-01-13 19:41:47.431884833 +0100 +@@ -87,6 +87,7 @@ + + void (*cb_pari_ask_confirm)(const char *); + int (*cb_pari_handle_exception)(long); ++int (*cb_pari_err_handle)(GEN); + int (*cb_pari_whatnow)(PariOUT *out, const char *, int); + void (*cb_pari_sigint)(void); + void (*cb_pari_pre_recover)(long); +@@ -732,6 +733,8 @@ + static void + dflt_err_recover(long errnum) { (void) errnum; pari_exit(); } + ++static int pari_err_display(GEN err); ++ + /* initialize PARI data. Initialize [new|old]fun to NULL for default set. */ + void + pari_init_opts(size_t parisize, ulong maxprime, ulong init_opts) +@@ -739,6 +742,8 @@ + ulong u; + + cb_pari_whatnow = NULL; ++ cb_pari_handle_exception = NULL; ++ cb_pari_err_handle = pari_err_display; + cb_pari_pre_recover = NULL; + cb_pari_sigint = dflt_sigint_fun; + if (init_optsINIT_JMPm) cb_pari_err_recover = dflt_err_recover; +@@ -887,9 +892,6 @@ + evalstate_reset(); + killallfiles(); + pari_init_errcatch(); +- out_puts(pariErr, \n); +- pariErr-flush(); +- + cb_pari_err_recover(numerr); + } + +@@ -1266,21 +1268,22 @@ + return NULL; /*NOT REACHED*/ + } + +-static void ++static int + pari_err_display(GEN err) + { + long numerr=err_get_num(err); ++ err_init(); + if (numerr==e_SYNTAX) + { + const char *msg = GSTR(gel(err,2)); + const char *s = (const char *) gmael(err,3,1); + const char *entry = (const char *) gmael(err,3,2); + print_errcontext(pariErr, msg, s, entry); +-return; + } + else + { + char *s = pari_err2str(err); ++closure_err(0); + err_init_msg(numerr, e_USER); + pariErr-puts(s); + if (numerr==e_NOTFUNC) +@@ -1295,6 +1298,8 @@ + } + pari_free(s); + } ++ out_term_color(pariErr, c_NONE); ++ pariErr-flush(); return 0; + } + + void +@@ -1315,12 +1320,9 @@ + global_err_data = E; + if (*iferr_env) longjmp(*iferr_env, numerr); + mt_err_recover(numerr); +- err_init(); +- if (numerr != e_SYNTAX) closure_err(0); +- pari_err_display(E); +- out_term_color(pariErr, c_NONE); + va_end(ap); +- pariErr-flush(); ++ if (cb_pari_err_handle ++ cb_pari_err_handle(E)) return; + if (cb_pari_handle_exception + cb_pari_handle_exception(numerr)) return; + err_recover(numerr);
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Tuesday, December 30, 2014 @ 20:50:20 Author: bisson Revision: 124982 add validpgpkeys Modified: pari/trunk/PKGBUILD --+ PKGBUILD |1 + 1 file changed, 1 insertion(+) Modified: PKGBUILD === --- PKGBUILD2014-12-30 19:31:10 UTC (rev 124981) +++ PKGBUILD2014-12-30 19:50:20 UTC (rev 124982) @@ -11,6 +11,7 @@ depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') +validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) sha1sums=('27ef49c39860055ff97608bc323bff2afda1aa51' 'SKIP')
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, September 19, 2014 @ 18:09:05 Author: bisson Revision: 119239 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-09-19 16:08:52 UTC (rev 119238) +++ PKGBUILD2014-09-19 16:09:05 UTC (rev 119239) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.7.1 +pkgver=2.7.2 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -12,7 +12,7 @@ makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) -sha1sums=('7edec0dfefc5d0c47a7f1c2fb1016cfe313c1652' 'SKIP') +sha1sums=('27ef49c39860055ff97608bc323bff2afda1aa51' 'SKIP') prepare() { cd ${srcdir}/${pkgname}-${pkgver}
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Friday, May 16, 2014 @ 19:15:18 Author: bisson Revision: 111331 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-05-16 16:35:25 UTC (rev 111330) +++ PKGBUILD2014-05-16 17:15:18 UTC (rev 111331) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.7.0 +pkgver=2.7.1 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -12,7 +12,7 @@ makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) -sha1sums=('ea3764bc0bac37d033e1109087bacba4c94b4c7d' 'SKIP') +sha1sums=('7edec0dfefc5d0c47a7f1c2fb1016cfe313c1652' 'SKIP') prepare() { cd ${srcdir}/${pkgname}-${pkgver}
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Monday, March 24, 2014 @ 17:31:51 Author: bisson Revision: 108199 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-03-24 15:22:43 UTC (rev 108198) +++ PKGBUILD2014-03-24 16:31:51 UTC (rev 108199) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.5.5 +pkgver=2.7.0 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -11,8 +11,8 @@ depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') -source=(${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) -sha1sums=('77637f935ee4a3b78e7015cef00146bd2f7e96bc' 'SKIP') +source=(http://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) +sha1sums=('ea3764bc0bac37d033e1109087bacba4c94b4c7d' 'SKIP') prepare() { cd ${srcdir}/${pkgname}-${pkgver} @@ -21,7 +21,12 @@ build() { cd ${srcdir}/${pkgname}-${pkgver} - ./Configure --prefix=/usr --with-gmp --with-readline + ./Configure \ + --prefix=/usr \ + --with-readline \ + --mt=pthread \ + --with-gmp \ + make all }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Sunday, September 29, 2013 @ 07:05:55 Author: bisson Revision: 97764 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-09-28 21:30:38 UTC (rev 97763) +++ PKGBUILD2013-09-29 05:05:55 UTC (rev 97764) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.5.4 +pkgver=2.5.5 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -12,7 +12,7 @@ makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') source=(${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) -sha1sums=('471226fd86fea0ad1f236249a49bdaee16aa34bf' 'SKIP') +sha1sums=('77637f935ee4a3b78e7015cef00146bd2f7e96bc' 'SKIP') prepare() { cd ${srcdir}/${pkgname}-${pkgver} @@ -33,5 +33,5 @@ package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - ln -sf gp.1.gz ${pkgdir}/usr/share/man/man1/pari.1.gz + ln -sf gp.1.gz ${pkgdir}/usr/share/man/man1/pari.1 }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Tuesday, June 11, 2013 @ 08:25:06 Author: bisson Revision: 92659 avoid archweb's uncompressed manpages detection Modified: pari/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-06-10 17:17:32 UTC (rev 92658) +++ PKGBUILD2013-06-11 06:25:06 UTC (rev 92659) @@ -33,5 +33,5 @@ package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - ln -sf gp.1.gz ${pkgdir}/usr/share/man/man1/pari.1 + ln -sf gp.1.gz ${pkgdir}/usr/share/man/man1/pari.1.gz }
[arch-commits] Commit in pari/trunk (PKGBUILD)
Date: Wednesday, May 15, 2013 @ 15:56:50 Author: bisson Revision: 90927 upstream update Modified: pari/trunk/PKGBUILD --+ PKGBUILD | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-15 13:47:03 UTC (rev 90926) +++ PKGBUILD2013-05-15 13:56:50 UTC (rev 90927) @@ -2,7 +2,7 @@ # Maintainer: Gaetan Bisson bis...@archlinux.org pkgname=pari -pkgver=2.5.3 +pkgver=2.5.4 pkgrel=1 pkgdesc='Computer algebra system designed for fast computations in number theory' url='http://pari.math.u-bordeaux.fr/' @@ -11,12 +11,16 @@ depends=('gmp' 'readline' 'libx11') makedepends=('perl' 'texlive-core') optdepends=('perl: gphelp, tex2mail') -source=(${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz) -sha1sums=('de79eee7ae017a495dc0c648b6f7d5a4f6c7a522') +source=(${url}pub/pari/unix/${pkgname}-${pkgver}.tar.gz{,.asc}) +sha1sums=('471226fd86fea0ad1f236249a49bdaee16aa34bf' 'SKIP') +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + sed 's/\$addlib64//g' -i config/get_libpth +} + build() { cd ${srcdir}/${pkgname}-${pkgver} - sed 's/\$addlib64/ /' -i config/get_libpth ./Configure --prefix=/usr --with-gmp --with-readline make all } @@ -29,8 +33,5 @@ package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install - - # symlink pointing to a symlink that is going to be moved by zipman - rm ${pkgdir}/usr/share/man/man1/pari.1 - ln -s gp.1.gz ${pkgdir}/usr/share/man/man1/pari.1.gz + ln -sf gp.1.gz ${pkgdir}/usr/share/man/man1/pari.1 }