diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-26 18:04:34 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-26 19:30:20 +0800 |
commit | a0562b14f32aa6c00b1046a040dfcd5c5dce8b3a (patch) | |
tree | cbfa5d6fc8e998cb453ae8741a4da56a55a57dce | |
parent | mail/pear-Horde_Smtp: Add NO_ARCH (diff) |
math/py-CyLP: Allow build with cython 3.1.0+
- Bump PORTREVISION for package change
-rw-r--r-- | math/py-CyLP/Makefile | 2 | ||||
-rw-r--r-- | math/py-CyLP/files/patch-cython | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/math/py-CyLP/Makefile b/math/py-CyLP/Makefile index 24e953829189..088d382fadea 100644 --- a/math/py-CyLP/Makefile +++ b/math/py-CyLP/Makefile @@ -1,7 +1,7 @@ PORTNAME= CyLP DISTVERSIONPREFIX= v DISTVERSION= 0.92.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/math/py-CyLP/files/patch-cython b/math/py-CyLP/files/patch-cython new file mode 100644 index 000000000000..790d2e24b939 --- /dev/null +++ b/math/py-CyLP/files/patch-cython @@ -0,0 +1,10 @@ +--- cylp/cy/CyClpSimplex.pyx.orig 2024-08-20 08:36:08 UTC ++++ cylp/cy/CyClpSimplex.pyx +@@ -20,6 +20,7 @@ from cylp.cy cimport CyCoinMpsIO + from cylp.py.pivots.DualPivotPythonBase import DualPivotPythonBase + from cylp.py.modeling.CyLPModel import CyLPModel + from cylp.cy cimport CyCoinMpsIO ++from ctypes import c_long as long + + # Initialize numpy + np.import_array() |