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

Antonio Rojas arojas at archlinux.org
Sun Oct 25 08:10:50 UTC 2020


    Date: Sunday, October 25, 2020 @ 08:10:49
  Author: arojas
Revision: 732165

archrelease: copy trunk to community-testing-x86_64

Added:
  cypari2/repos/community-testing-x86_64/PKGBUILD
    (from rev 732164, cypari2/trunk/PKGBUILD)
  cypari2/repos/community-testing-x86_64/maxprime-pari-2.13.patch
    (from rev 732164, cypari2/trunk/maxprime-pari-2.13.patch)
Deleted:
  cypari2/repos/community-testing-x86_64/PKGBUILD

--------------------------+
 PKGBUILD                 |   63 +++++++++++++++++++++++----------------------
 maxprime-pari-2.13.patch |   13 +++++++++
 2 files changed, 46 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-25 08:10:34 UTC (rev 732164)
+++ PKGBUILD	2020-10-25 08:10:49 UTC (rev 732165)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgbase=cypari2
-pkgname=python-cypari2
-pkgver=2.1.1
-pkgrel=5
-pkgdesc="Cython bindings for PARI"
-arch=(x86_64)
-url="https://www.sagemath.org"
-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")
-sha256sums=('8b707cba6f5ed249105348d3e29ce55c12c7ed5556ff6e0ae03f7aa792321e10'
-            'ec9aa1e50480900883cbbb9b334a412717cfc3f624f5bc66459265de3848416e')
-
-prepare() {
-  patch -d $pkgbase-$pkgver -p1 -i ../cypari2-pari-2.13.patch # Port to PARI 2.13 API changes
-}
-
-build() {
-  cd $pkgbase-$pkgver
-  python setup.py build
-}
-
-package_python-cypari2() {
-  cd $pkgbase-$pkgver
-  python setup.py install --root="$pkgdir"
-}

Copied: cypari2/repos/community-testing-x86_64/PKGBUILD (from rev 732164, cypari2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-25 08:10:49 UTC (rev 732165)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=cypari2
+pkgname=python-cypari2
+pkgver=2.1.1
+pkgrel=6
+pkgdesc="Cython bindings for PARI"
+arch=(x86_64)
+url="https://www.sagemath.org"
+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')
+
+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
+}
+
+package_python-cypari2() {
+  cd $pkgbase-$pkgver
+  python setup.py install --root="$pkgdir"
+}

Copied: cypari2/repos/community-testing-x86_64/maxprime-pari-2.13.patch (from rev 732164, cypari2/trunk/maxprime-pari-2.13.patch)
===================================================================
--- maxprime-pari-2.13.patch	                        (rev 0)
+++ maxprime-pari-2.13.patch	2020-10-25 08:10:49 UTC (rev 732165)
@@ -0,0 +1,13 @@
+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