svn commit: r553498 - in head/math/py-cypari2: . files
Thierry Thomas
thierry at FreeBSD.org
Tue Oct 27 21:07:09 UTC 2020
Author: thierry
Date: Tue Oct 27 21:07:08 2020
New Revision: 553498
URL: https://svnweb.freebsd.org/changeset/ports/553498
Log:
Fix a breakage introduced by r553237:
Use polisirreducible() instead of isirreducible()
Obtained from: upstream (7bf4211)
Added:
head/math/py-cypari2/files/
head/math/py-cypari2/files/patch-cypari2_gen.pyx (contents, props changed)
head/math/py-cypari2/files/patch-cypari2_paridecl.pxd (contents, props changed)
Modified:
head/math/py-cypari2/Makefile
Modified: head/math/py-cypari2/Makefile
==============================================================================
--- head/math/py-cypari2/Makefile Tue Oct 27 20:52:09 2020 (r553497)
+++ head/math/py-cypari2/Makefile Tue Oct 27 21:07:08 2020 (r553498)
@@ -3,7 +3,7 @@
PORTNAME= cypari2
DISTVERSION= 2.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Added: head/math/py-cypari2/files/patch-cypari2_gen.pyx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-cypari2/files/patch-cypari2_gen.pyx Tue Oct 27 21:07:08 2020 (r553498)
@@ -0,0 +1,11 @@
+--- cypari2/gen.pyx.orig 2019-04-23 10:57:51 UTC
++++ cypari2/gen.pyx
+@@ -4109,7 +4109,7 @@ cdef class Gen(Gen_base):
+ non-constant polynomial, or False if f is reducible or constant.
+ """
+ sig_on()
+- t = isirreducible(self.g)
++ t = polisirreducible(self.g)
+ clear_stack()
+ return t != 0
+
Added: head/math/py-cypari2/files/patch-cypari2_paridecl.pxd
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-cypari2/files/patch-cypari2_paridecl.pxd Tue Oct 27 21:07:08 2020 (r553498)
@@ -0,0 +1,11 @@
+--- cypari2/paridecl.pxd.orig 2019-04-23 10:57:51 UTC
++++ cypari2/paridecl.pxd
+@@ -3850,7 +3850,7 @@ cdef extern from *: # PARI headers already include
+ GEN glcm0(GEN x, GEN y)
+ GEN gp_factor0(GEN x, GEN flag)
+ GEN idealfactorback(GEN nf, GEN L, GEN e, int red)
+- long isirreducible(GEN x)
++ long polisirreducible "isirreducible"(GEN x)
+ GEN newtonpoly(GEN x, GEN p)
+ GEN nffactorback(GEN nf, GEN L, GEN e)
+ GEN nfrootsQ(GEN x)
More information about the svn-ports-head
mailing list