[arch-commits] Commit in pari/repos/community-x86_64 (3 files)

Gaëtan Bisson bisson at archlinux.org
Fri Apr 17 19:36:21 UTC 2020


    Date: Friday, April 17, 2020 @ 19:36:20
  Author: bisson
Revision: 615759

archrelease: copy trunk to community-x86_64

Added:
  pari/repos/community-x86_64/PKGBUILD
    (from rev 615758, pari/trunk/PKGBUILD)
Deleted:
  pari/repos/community-x86_64/PKGBUILD
  pari/repos/community-x86_64/c7a1d35f.patch

----------------+
 PKGBUILD       |   89 +++++++++++++++++++++++++------------------------------
 c7a1d35f.patch |   38 -----------------------
 2 files changed, 41 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-17 19:35:59 UTC (rev 615758)
+++ PKGBUILD	2020-04-17 19:36:20 UTC (rev 615759)
@@ -1,48 +0,0 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=pari
-pkgver=2.11.3
-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')
-validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387')
-source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/${pkgname}-${pkgver}.tar.gz"{,.asc}
-        'c7a1d35f.patch')
-sha256sums=('c7100a467eaf908942bb403cbd38036a26d7222e6ee6d39b50ab667d052ca6c9'
-            '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 \
-		--prefix=/usr \
-		--with-readline \
-		--mt=pthread \
-		--with-gmp \
-
-	make all
-}
-
-check() {
-	cd "${srcdir}/${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
-}

Copied: pari/repos/community-x86_64/PKGBUILD (from rev 615758, pari/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-17 19:36:20 UTC (rev 615759)
@@ -0,0 +1,41 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=pari
+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')
+arch=('x86_64')
+depends=('gmp' 'readline' 'libx11')
+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})
+sha256sums=('bfc88fc4f7352f4840e6e352c72f0369cbea8a45403b1834a6269f3709970b1c'
+            'SKIP')
+
+conflicts=('pari-sage')
+replaces=("pari-sage<=1:${pkgver}")
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./Configure \
+		--prefix=/usr \
+		--with-readline \
+		--mt=pthread \
+		--with-gmp \
+
+	make all
+}
+
+check() {
+	cd "${srcdir}/${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
+}

Deleted: c7a1d35f.patch
===================================================================
--- c7a1d35f.patch	2020-04-17 19:35:59 UTC (rev 615758)
+++ c7a1d35f.patch	2020-04-17 19:36:20 UTC (rev 615759)
@@ -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]])



More information about the arch-commits mailing list