summaryrefslogtreecommitdiff
path: root/math/py-pywavelets
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2024-08-28 17:48:23 +0300
committerMax Brazhnikov <makc@FreeBSD.org>2024-08-28 17:48:23 +0300
commitd28fea44db40a6d8cbdc5d52239a1915628b06af (patch)
tree7caa26f7935649102f7d9255a50e6abe283573e5 /math/py-pywavelets
parentmath/py-pywavelets: update to 1.6.0 (diff)
math/py-pywavelets: update to 1.7.0
Update to 1.7.0. The minimum supported Python version is 3.10
Diffstat (limited to 'math/py-pywavelets')
-rw-r--r--math/py-pywavelets/Makefile8
-rw-r--r--math/py-pywavelets/distinfo6
-rw-r--r--math/py-pywavelets/files/patch-pyproject.toml7
3 files changed, 11 insertions, 10 deletions
diff --git a/math/py-pywavelets/Makefile b/math/py-pywavelets/Makefile
index db4e8be329fd..cce4bc5ad5e8 100644
--- a/math/py-pywavelets/Makefile
+++ b/math/py-pywavelets/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pywavelets
-PORTVERSION= 1.6.0
+PORTVERSION= 1.7.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,11 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}meson-python>=0.15:devel/meson-python@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}meson-python>=0.16:devel/meson-python@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.4:lang/cython3@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
-USES= python shebangfix
+USES= python:3.10+ shebangfix
USE_PYTHON= autoplist pep517
SHEBANG_FILES= pywt/data/create_dat.py
diff --git a/math/py-pywavelets/distinfo b/math/py-pywavelets/distinfo
index 205e2ff72ae2..6ff74b90bc66 100644
--- a/math/py-pywavelets/distinfo
+++ b/math/py-pywavelets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724850367
-SHA256 (pywavelets-1.6.0.tar.gz) = ea027c70977122c5fc27b2510f0a0d9528f9c3df6ea3e4c577ca55fd00325a5b
-SIZE (pywavelets-1.6.0.tar.gz) = 3939946
+TIMESTAMP = 1724851533
+SHA256 (pywavelets-1.7.0.tar.gz) = b47250e5bb853e37db5db423bafc82847f4cde0ffdf7aebb06336a993bc174f6
+SIZE (pywavelets-1.7.0.tar.gz) = 3934767
diff --git a/math/py-pywavelets/files/patch-pyproject.toml b/math/py-pywavelets/files/patch-pyproject.toml
index 954f8a266f08..bd30b028bceb 100644
--- a/math/py-pywavelets/files/patch-pyproject.toml
+++ b/math/py-pywavelets/files/patch-pyproject.toml
@@ -1,10 +1,11 @@
---- pyproject.toml.orig 2024-04-01 17:38:02 UTC
+--- pyproject.toml.orig 2024-08-12 15:57:53 UTC
+++ pyproject.toml
-@@ -19,7 +19,7 @@ requires = [
+@@ -16,8 +16,7 @@ requires = [
# Note that building against numpy 1.x works fine too - users and
# redistributors can do this by installing the numpy version they like and
# disabling build isolation.
-- "numpy>=2.0.0rc1,<2.3",
+- "numpy>=2.0.0; python_version<'3.13'",
+- "numpy>=2.1.0.rc1; python_version>='3.13'",
+ "numpy",
]