git: d28fea44db40 - main - math/py-pywavelets: update to 1.7.0

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

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

commit d28fea44db40a6d8cbdc5d52239a1915628b06af
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.7.0
    
    Update to 1.7.0. The minimum supported Python version is 3.10
---
 math/py-pywavelets/Makefile                   | 8 ++++----
 math/py-pywavelets/distinfo                   | 6 +++---
 math/py-pywavelets/files/patch-pyproject.toml | 7 ++++---
 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",
  ]