summaryrefslogtreecommitdiff
path: root/math/py-nlopt/files/patch-setup.py
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-09-05 21:42:12 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-09-06 01:20:52 -0700
commitf06165e9ef029bedf36027f4c5ac4f5fe76837d7 (patch)
tree952c2da46de6e40828f852bdb9555d078f984da1 /math/py-nlopt/files/patch-setup.py
parentmath/py-petsc4py: update 3.21.4 → 3.21.5 (diff)
math/py-nlopt: update 2.7.1.2 → 2.8.0
Reported by: portscout
Diffstat (limited to 'math/py-nlopt/files/patch-setup.py')
-rw-r--r--math/py-nlopt/files/patch-setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/py-nlopt/files/patch-setup.py b/math/py-nlopt/files/patch-setup.py
new file mode 100644
index 000000000000..1eb13472914b
--- /dev/null
+++ b/math/py-nlopt/files/patch-setup.py
@@ -0,0 +1,13 @@
+--- setup.py.orig 2024-09-06 04:01:39 UTC
++++ setup.py
+@@ -20,8 +20,8 @@ setup(
+ setup(
+ version=version,
+ python_requires=">=3.9",
+- install_requires=["numpy >=2,<3"],
+- setup_requires=["numpy >=2,<3"],
++ install_requires=["numpy"],
++ setup_requires=["numpy"],
+ ext_modules=[NLOptBuildExtension("nlopt._nlopt", version)],
+ cmdclass={"build_ext": NLOptBuild},
+ zip_safe=False,