Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
cypari2


Commits:
ccbe1ed7 by Antonio Rojas at 2024-10-04T20:14:50+02:00
upgpkg: 2.2.0-6: Restore pari-primes fix

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- pari-2.17.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = cypari2
        pkgdesc = Cython bindings for PARI
        pkgver = 2.2.0
-       pkgrel = 5
+       pkgrel = 6
        url = https://www.sagemath.org
        arch = x86_64
        license = GPL-2.0-or-later
@@ -18,6 +18,6 @@ pkgbase = cypari2
        source = git+https://github.com/sagemath/cypari2#tag=2.2.0
        source = pari-2.17.patch
        sha256sums = 
015d7421efabb57680fca1445d98585a43228a3f46c36cd7f9cad9b28f5ea0f8
-       sha256sums = 
043e19fd1b0b3cdb4abf4ca3586b3c2978c2205826fb7183236bd59086dd2da4
+       sha256sums = 
db9366c8746f07cb6950847821f9e6693b9eba0423da87f345d68c8610b10533
 
 pkgname = python-cypari2


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgbase=cypari2
 pkgname=python-cypari2
 pkgver=2.2.0
-pkgrel=5
+pkgrel=6
 pkgdesc='Cython bindings for PARI'
 arch=(x86_64)
 url='https://www.sagemath.org'
@@ -21,7 +21,7 @@ makedepends=(cython
 source=(git+https://github.com/sagemath/cypari2#tag=$pkgver
         pari-2.17.patch)
 sha256sums=('015d7421efabb57680fca1445d98585a43228a3f46c36cd7f9cad9b28f5ea0f8'
-            '043e19fd1b0b3cdb4abf4ca3586b3c2978c2205826fb7183236bd59086dd2da4')
+            'db9366c8746f07cb6950847821f9e6693b9eba0423da87f345d68c8610b10533')
 
 prepare() {
   cd $pkgbase


=====================================
pari-2.17.patch
=====================================
@@ -1,4 +1,27 @@
-diff --git a/autogen/args.py b/autogen/args.py
+diff --git a/cypari2/paridecl.pxd b/cypari2/paridecl.pxd
+index 29cb8ef..9ccf336 100644
+--- a/cypari2/paridecl.pxd
++++ b/cypari2/paridecl.pxd
+@@ -118,6 +118,7 @@ cdef extern from *:     # PARI headers already included by 
types.pxd
+     extern PariOUT* pariOut
+     extern PariOUT* pariErr
+     extern byteptr diffptr
++    extern pari_prime* pari_PRIMES
+ 
+     ###############################################
+     #                                             #
+diff --git a/cypari2/types.pxd b/cypari2/types.pxd
+index 9ee4fe6..7f00b52 100644
+--- a/cypari2/types.pxd
++++ b/cypari2/types.pxd
+@@ -24,6 +24,7 @@ cdef extern from "pari/pari.h":
+     ctypedef long* GEN
+     ctypedef char* byteptr
+     ctypedef unsigned long pari_sp
++    ctypedef unsigned long pari_prime
+ 
+     # PARI types
+     enum:diff --git a/autogen/args.py b/autogen/args.py
 index cd84008..4f2ac3e 100644
 --- a/autogen/args.py
 +++ b/autogen/args.py



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cypari2/-/commit/ccbe1ed77f2e193521bfd026013010ca87bb0b08

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cypari2/-/commit/ccbe1ed77f2e193521bfd026013010ca87bb0b08
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to