git: 4493b306962b - main - math/py-CyLP: Add patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Dec 2023 19:23:27 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4493b306962b8ed60a672df6c96cf8646d508c12
commit 4493b306962b8ed60a672df6c96cf8646d508c12
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-20 19:23:06 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-20 19:23:06 +0000
math/py-CyLP: Add patch
---
math/py-CyLP/files/patch-pyproject.toml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/math/py-CyLP/files/patch-pyproject.toml b/math/py-CyLP/files/patch-pyproject.toml
new file mode 100644
index 000000000000..22abefe510ff
--- /dev/null
+++ b/math/py-CyLP/files/patch-pyproject.toml
@@ -0,0 +1,15 @@
+--- pyproject.toml.orig 2023-11-01 20:21:56 UTC
++++ pyproject.toml
+@@ -2,10 +2,10 @@
+ requires = [
+ 'setuptools',
+ 'wheel',
+- 'Cython == 3.0.4',
++ 'Cython >= 3.0.4',
+ # https://numpy.org/devdocs/user/depending_on_numpy.html#build-time-dependency
+ # from https://github.com/scipy/oldest-supported-numpy/pull/78#issuecomment-1747936818:
+- "oldest-supported-numpy; platform_python_implementation != 'PyPy'",
++ "numpy; platform_python_implementation != 'PyPy'",
+ "numpy; platform_python_implementation=='PyPy'"
+ ]
+ build-backend = "setuptools.build_meta"