summaryrefslogtreecommitdiff
path: root/math/py-pywavelets/files/patch-pyproject.toml
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2024-08-28 17:48:22 +0300
committerMax Brazhnikov <makc@FreeBSD.org>2024-08-28 17:48:22 +0300
commitdc6d24aeda3492b9497becd979ae50d1dc466a4c (patch)
tree480ec5eed4b903689f856fe888df4b4d6f4f076b /math/py-pywavelets/files/patch-pyproject.toml
parentdevel/rust-analyzer: Update to 2024-08-27 (diff)
math/py-PyWavelets: rename to pywavelets and update to 1.5.0
Update to 1.5.0. The package has been renamed to pywavelets starting with 1.5.0
Diffstat (limited to 'math/py-pywavelets/files/patch-pyproject.toml')
-rw-r--r--math/py-pywavelets/files/patch-pyproject.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/math/py-pywavelets/files/patch-pyproject.toml b/math/py-pywavelets/files/patch-pyproject.toml
new file mode 100644
index 000000000000..4f363283cd58
--- /dev/null
+++ b/math/py-pywavelets/files/patch-pyproject.toml
@@ -0,0 +1,25 @@
+--- pyproject.toml.orig 2023-11-17 22:07:21 UTC
++++ pyproject.toml
+@@ -9,21 +9,7 @@ requires = [
+ requires = [
+ "meson-python>=0.14.0",
+ "Cython>=0.29.35",
+-
+- # When numpy 2.0.0rc1 comes out, we should update this to build against 2.0,
+- # and then runtime depend on the range 1.22.X to <2.3. No need to switch to
+- # 1.25.2 in the meantime (1.25.x is the first version which exports older C
+- # API versions by default).
+-
+- # default numpy requirements
+- "numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'",
+- "numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'",
+- "numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
+- # For Python versions which aren't yet officially supported, we specify an
+- # unpinned NumPy which allows source distributions to be used and allows
+- # wheels to be used as soon as they become available.
+- "numpy; python_version>='3.13'",
+- "numpy; python_version>='3.9' and platform_python_implementation=='PyPy'",
++ "numpy",
+ ]
+
+ [project]