diff --git a/math/py-pywavelets/Makefile b/math/py-pywavelets/Makefile index ffa61adc5563..db4e8be329fd 100644 --- a/math/py-pywavelets/Makefile +++ b/math/py-pywavelets/Makefile @@ -1,26 +1,27 @@ PORTNAME= pywavelets -PORTVERSION= 1.5.0 +PORTVERSION= 1.6.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Discrete Wavelet Transforms in Python WWW= https://github.com/PyWavelets/pywt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}meson-python>=0.14:devel/meson-python@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}meson-python>=0.15:devel/meson-python@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} USES= python shebangfix -USE_PYTHON= autoplist cython pep517 +USE_PYTHON= autoplist pep517 SHEBANG_FILES= pywt/data/create_dat.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pywt/_extensions/*.so .include diff --git a/math/py-pywavelets/distinfo b/math/py-pywavelets/distinfo index 9134427f823f..205e2ff72ae2 100644 --- a/math/py-pywavelets/distinfo +++ b/math/py-pywavelets/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724847432 -SHA256 (pywavelets-1.5.0.tar.gz) = d9e25c7cabef7ccd53f5fead26ab22152fe4cb937bad7411b5d506e2b5de38f6 -SIZE (pywavelets-1.5.0.tar.gz) = 3937269 +TIMESTAMP = 1724850367 +SHA256 (pywavelets-1.6.0.tar.gz) = ea027c70977122c5fc27b2510f0a0d9528f9c3df6ea3e4c577ca55fd00325a5b +SIZE (pywavelets-1.6.0.tar.gz) = 3939946 diff --git a/math/py-pywavelets/files/patch-pyproject.toml b/math/py-pywavelets/files/patch-pyproject.toml index 4f363283cd58..954f8a266f08 100644 --- a/math/py-pywavelets/files/patch-pyproject.toml +++ b/math/py-pywavelets/files/patch-pyproject.toml @@ -1,25 +1,11 @@ ---- pyproject.toml.orig 2023-11-17 22:07:21 UTC +--- pyproject.toml.orig 2024-04-01 17:38:02 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'", +@@ -19,7 +19,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", ] [project]