diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile index 809129b649e5..bec1457f2a3a 100644 --- a/math/py-fastcluster/Makefile +++ b/math/py-fastcluster/Makefile @@ -1,27 +1,27 @@ PORTNAME= fastcluster PORTVERSION= 1.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast hierarchical clustering routines for R and Python WWW= http://danifold.net/fastcluster.html \ https://github.com/dmuellner/fastcluster LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2,1:math/py-numpy@${PY_FLAVOR} USES= compiler python USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/math/py-fastcluster/files/patch-pyproject.toml b/math/py-fastcluster/files/patch-pyproject.toml deleted file mode 100644 index 1b5181373b1a..000000000000 --- a/math/py-fastcluster/files/patch-pyproject.toml +++ /dev/null @@ -1,8 +0,0 @@ ---- pyproject.toml.orig 2025-05-06 15:48:45 UTC -+++ pyproject.toml -@@ -1,4 +1,4 @@ requires = ["setuptools", - [build-system] - requires = ["setuptools", - "wheel", -- "numpy >= 2"] -+ "numpy"] diff --git a/math/py-fastcluster/files/patch-setup.py b/math/py-fastcluster/files/patch-setup.py deleted file mode 100644 index 3c5c064a6fcc..000000000000 --- a/math/py-fastcluster/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2025-05-06 15:48:45 UTC -+++ setup.py -@@ -92,7 +92,7 @@ Clustering Routines for R and Python*, Journal of Stat - long_description_content_type='text/markdown', - python_requires='>=3', - requires=['numpy'], -- install_requires=["numpy>=2"], -+ install_requires=["numpy"], - provides=['fastcluster'], - ext_modules=[Extension('_fastcluster', - ['src/fastcluster_python.cpp'],