git: 835bbd7fb30a - main - math/py-POT: update 0.9.3 → 0.9.7.p1

Yuri Victorovich <[email protected]> Sun, 02 Aug 2026 00:26:06 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

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

commit 835bbd7fb30ae7e8e27c516f2f570a527b0f9d43
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-01 21:42:21 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-02 00:25:49 +0000

    math/py-POT: update 0.9.3 → 0.9.7.p1
---
 math/py-POT/Makefile                   | 10 ++++++----
 math/py-POT/distinfo                   |  6 +++---
 math/py-POT/files/patch-pyproject.toml |  9 ---------
 math/py-POT/files/patch-setup.py       | 11 -----------
 4 files changed, 9 insertions(+), 27 deletions(-)

diff --git a/math/py-POT/Makefile b/math/py-POT/Makefile
index d2c7dfde345d..e4aa17fb36f0 100644
--- a/math/py-POT/Makefile
+++ b/math/py-POT/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	POT
-DISTVERSION=	0.9.3
-PORTREVISION=	2
+DISTVERSION=	0.9.7.post1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	pot-${DISTVERSION}
 
 MAINTAINER=	[email protected]
 COMMENT=	Python Optimal Transport Library
@@ -13,9 +13,9 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.6:science/py-scipy@${PY_FLAVOR}
 
 USES=		python
@@ -27,4 +27,6 @@ TEST_WRKSRC=	${WRKSRC}/test
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ot/lp/emd_wrap${PYTHON_TAG}.so
 
+# tests as of 0.9.7.post1: 67 passed, 10 skipped, 29 warnings, 123 errors (errors from optional deps)
+
 .include <bsd.port.mk>
diff --git a/math/py-POT/distinfo b/math/py-POT/distinfo
index 9b06c3362dbc..483ea5f77eeb 100644
--- a/math/py-POT/distinfo
+++ b/math/py-POT/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712367723
-SHA256 (POT-0.9.3.tar.gz) = eecf2394390a73472e727ef75f7c801fc47509039f00c40f8fc64fdeea617c86
-SIZE (POT-0.9.3.tar.gz) = 373598
+TIMESTAMP = 1785617504
+SHA256 (pot-0.9.7.post1.tar.gz) = 2edd70845047ac2d378487b980a2bffb5ff58e9b92b7133896ff5753f6300cec
+SIZE (pot-0.9.7.post1.tar.gz) = 1842013
diff --git a/math/py-POT/files/patch-pyproject.toml b/math/py-POT/files/patch-pyproject.toml
deleted file mode 100644
index c2896e3923c0..000000000000
--- a/math/py-POT/files/patch-pyproject.toml
+++ /dev/null
@@ -1,9 +0,0 @@
---- pyproject.toml.orig	2023-12-23 09:30:10 UTC
-+++ pyproject.toml
-@@ -1,3 +1,3 @@
- [build-system]
--requires = ["setuptools", "wheel", "oldest-supported-numpy", "cython>=0.23"]
--build-backend = "setuptools.build_meta"
-\ No newline at end of file
-+requires = ["setuptools", "wheel", "numpy", "cython>=0.23"]
-+build-backend = "setuptools.build_meta"
diff --git a/math/py-POT/files/patch-setup.py b/math/py-POT/files/patch-setup.py
deleted file mode 100644
index dcca65464a91..000000000000
--- a/math/py-POT/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2023-12-23 09:28:27 UTC
-+++ setup.py
-@@ -68,7 +68,7 @@ setup(
-     license='MIT',
-     scripts=[],
-     data_files=[],
--    setup_requires=["oldest-supported-numpy", "cython>=0.23"],
-+    setup_requires=["numpy", "cython>=0.23"],
-     install_requires=["numpy>=1.16", "scipy>=1.6"],
-     python_requires=">=3.6",
-     classifiers=[