[arch-commits] Commit in pari/trunk (PKGBUILD pari-rnfdisc.patch)

Antonio Rojas arojas at archlinux.org
Thu Jun 24 14:45:12 UTC 2021


    Date: Thursday, June 24, 2021 @ 14:45:11
  Author: arojas
Revision: 967199

Update to 2.13.2

Modified:
  pari/trunk/PKGBUILD
Deleted:
  pari/trunk/pari-rnfdisc.patch

--------------------+
 PKGBUILD           |   16 ++++++----------
 pari-rnfdisc.patch |   35 -----------------------------------
 2 files changed, 6 insertions(+), 45 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-24 13:46:47 UTC (rev 967198)
+++ PKGBUILD	2021-06-24 14:45:11 UTC (rev 967199)
@@ -2,8 +2,8 @@
 # Contributor: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=pari
-pkgver=2.13.1
-pkgrel=2
+pkgver=2.13.2
+pkgrel=1
 pkgdesc='Computer algebra system designed for fast computations in number theory'
 url='https://pari.math.u-bordeaux.fr/'
 license=(GPL)
@@ -16,17 +16,13 @@
             'pari-seadata: needed by ellap for large primes'
             'pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals')
 checkdepends=(pari-elldata pari-galdata pari-seadata pari-galpol)
-source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz"{,.asc}
-         pari-rnfdisc.patch)
-sha256sums=('81ecf7d70ccdaae230165cff627c9ce2ec297b8f22f9f40742279d85f86dfcb1'
-            'SKIP'
-            '9370724f2810b6763b308406437b0068d4a83d9839fd4f593b99755744ac214a')
+source=(https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz{,.asc})
+sha256sums=('1679985094a0b723d14f49aa891dbe5ec967aa4040050a2c50bd764ddb3eba24'
+            'SKIP')
 validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387')
 
-prepare() {
+prepare() {  
   cd $pkgname-$pkgver
-  
-  patch -p1 < ../pari-rnfdisc.patch # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2284
   sed -e 's|DLLDFLAGS  = \$DLLDFLAGS|DLLDFLAGS  = $DLLDFLAGS $LDFLAGS|' -i config/Makefile.SH # Honor system LDFLAGS
 }
 

Deleted: pari-rnfdisc.patch
===================================================================
--- pari-rnfdisc.patch	2021-06-24 13:46:47 UTC (rev 967198)
+++ pari-rnfdisc.patch	2021-06-24 14:45:11 UTC (rev 967199)
@@ -1,35 +0,0 @@
-From 3edb98db78dd49bb8b4137b46781a7cd570c2556 Mon Sep 17 00:00:00 2001
-From: Bill Allombert <Bill.Allombert at math.u-bordeaux.fr>
-Date: Sun, 28 Mar 2021 13:27:24 +0200
-Subject: [PATCH] rnfdisc_factored: remove spurious Q_primpart [#2284]
-
-diff --git a/src/basemath/base2.c b/src/basemath/base2.c
-index b2b63ada5..531f5c558 100644
---- a/src/basemath/base2.c
-+++ b/src/basemath/base2.c
-@@ -3582,7 +3582,7 @@ rnfdisc_factored(GEN nf, GEN pol, GEN *pd)
- 
-   nf = checknf(nf);
-   pol = rnfdisc_get_T(nf, pol, &lim);
--  disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, Q_primpart(pol)));
-+  disc = nf_to_scalar_or_basis(nf, nfX_disc(nf, pol));
-   pol = nfX_to_monic(nf, pol, NULL);
-   fa = idealfactor_partial(nf, disc, lim);
-   P = gel(fa,1); l = lg(P);
-diff --git a/src/test/32/rnf b/src/test/32/rnf
-index 6bd4585..d24e1ce 100644 (file)
---- a/src/test/32/rnf
-+++ b/src/test/32/rnf
-@@ -832,9 +832,9 @@ error("inconsistent dimensions in idealtwoelt.")
- 0
- 0
- 1
--[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0]
--~]
--[2, -1]
-+[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25
-+/17, -12/17, 12/17, 16/17]~]
-+[1, -1]
-   ***   at top-level: rnfdedekind(nf,P,pr2,1)
-   ***                 ^-----------------------
-   *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented.




More information about the arch-commits mailing list