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

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


    Date: Sunday, November 1, 2020 @ 20:06:57
  Author: arojas
Revision: 738939

archrelease: copy trunk to community-testing-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 20:06:42 UTC (rev 738938)
+++ PKGBUILD	2020-11-01 20:06:57 UTC (rev 738939)
@@ -1,33 +0,0 @@
-# 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/PKGBUILD (from rev 738938, cypari2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-01 20:06:57 UTC (rev 738939)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=cypari2
+pkgname=python-cypari2
+pkgver=2.1.2b1
+pkgrel=1
+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")
+sha256sums=('8c58cb3c6a8e51e8f1319619761df747ae56823b159c3d326d2b11b0ca5598cd')
+
+build() {
+  cd $pkgbase-$pkgver
+  python setup.py build
+}
+
+package_python-cypari2() {
+  cd $pkgbase-$pkgver
+  python setup.py install --root="$pkgdir"
+}

Deleted: maxprime-pari-2.13.patch
===================================================================
--- maxprime-pari-2.13.patch	2020-11-01 20:06:42 UTC (rev 738938)
+++ maxprime-pari-2.13.patch	2020-11-01 20:06:57 UTC (rev 738939)
@@ -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