git: 7405b18c7045 - main - math/py-pywavelets: update to 1.6.0

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Wed, 28 Aug 2024 14:49:55 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7405b18c70459516bc4f402b48eacfe169399ee0

commit 7405b18c70459516bc4f402b48eacfe169399ee0
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2024-08-28 14:48:23 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2024-08-28 14:48:23 +0000

    math/py-pywavelets: update to 1.6.0
---
 math/py-pywavelets/Makefile                   |  7 ++++---
 math/py-pywavelets/distinfo                   |  6 +++---
 math/py-pywavelets/files/patch-pyproject.toml | 26 ++++++--------------------
 3 files changed, 13 insertions(+), 26 deletions(-)

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,5 +1,5 @@
 PORTNAME=	pywavelets
-PORTVERSION=	1.5.0
+PORTVERSION=	1.6.0
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,12 @@ 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
 
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,24 +1,10 @@
---- 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",
  ]