[arch-commits] Commit in cypari2/trunk (PKGBUILD maxprime-pari-2.13.patch)

Antonio Rojas arojas at archlinux.org
Sun Nov 1 20:06:42 UTC 2020


    Date: Sunday, November 1, 2020 @ 20:06:42
  Author: arojas
Revision: 738938

Update to 2.1.2b1

Modified:
  cypari2/trunk/PKGBUILD
Deleted:
  cypari2/trunk/maxprime-pari-2.13.patch

--------------------------+
 PKGBUILD                 |   17 ++++-------------
 maxprime-pari-2.13.patch |   13 -------------
 2 files changed, 4 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 19:50:57 UTC (rev 738937)
+++ PKGBUILD	2020-11-01 20:06:42 UTC (rev 738938)
@@ -2,8 +2,8 @@
 
 pkgbase=cypari2
 pkgname=python-cypari2
-pkgver=2.1.1
-pkgrel=6
+pkgver=2.1.2b1
+pkgrel=1
 pkgdesc="Cython bindings for PARI"
 arch=(x86_64)
 url="https://www.sagemath.org"
@@ -10,18 +10,9 @@
 license=(LGPL)
 depends=(python-cysignals)
 makedepends=(cython)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/defeo/cypari2/archive/$pkgver.tar.gz"
-        cypari2-pari-2.13.patch::"https://github.com/sagemath/cypari2/commit/1a4be244.patch"
-        maxprime-pari-2.13.patch)
-sha256sums=('8b707cba6f5ed249105348d3e29ce55c12c7ed5556ff6e0ae03f7aa792321e10'
-            'ec9aa1e50480900883cbbb9b334a412717cfc3f624f5bc66459265de3848416e'
-            'a9a3454c042dbb1788553d18e353b8212ac854f6854af52d6eb4d47b715d7630')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/defeo/cypari2/archive/$pkgver.tar.gz")
+sha256sums=('8c58cb3c6a8e51e8f1319619761df747ae56823b159c3d326d2b11b0ca5598cd')
 
-prepare() {
-  patch -d $pkgbase-$pkgver -p1 -i ../cypari2-pari-2.13.patch # Port to PARI 2.13 API changes
-  patch -d $pkgbase-$pkgver -p1 -i ../maxprime-pari-2.13.patch # Explicitly set maxprime for PARI 2.13
-}
-
 build() {
   cd $pkgbase-$pkgver
   python setup.py build

Deleted: maxprime-pari-2.13.patch
===================================================================
--- maxprime-pari-2.13.patch	2020-11-01 19:50:57 UTC (rev 738937)
+++ maxprime-pari-2.13.patch	2020-11-01 20:06:42 UTC (rev 738938)
@@ -1,13 +0,0 @@
-diff --git a/cypari2/pari_instance.pyx b/cypari2/pari_instance.pyx
-index a0dfb07..9f2bdb4 100644
---- a/cypari2/pari_instance.pyx
-+++ b/cypari2/pari_instance.pyx
-@@ -491,7 +491,7 @@ cdef class Pari(Pari_auto):
- 
-         # Take 1MB as minimal stack. Use maxprime=0, which PARI will
-         # internally increase to some small value like 65537.
--        pari_init_opts(1000000, 0, INIT_DFTm)
-+        pari_init_opts(1000000, 500000, INIT_DFTm)
-         after_resize()
- 
-         # Disable PARI's stack overflow checking which is incompatible



More information about the arch-commits mailing list