diff --git a/math/py-hdbscan/Makefile b/math/py-hdbscan/Makefile index 65fae8c0167d..008b8e8618e7 100644 --- a/math/py-hdbscan/Makefile +++ b/math/py-hdbscan/Makefile @@ -1,29 +1,29 @@ PORTNAME= hdbscan PORTVERSION= 0.8.42 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Clustering based on density with variable density clusters WWW= https://hdbscan.readthedocs.io/en/latest/ \ https://github.com/scikit-learn-contrib/hdbscan LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0:math/py-numpy@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,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}joblib>=1.0:devel/py-joblib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.20<3:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=1.20,1<3,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.6:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent cython pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/math/py-hdbscan/files/patch-pyproject.toml b/math/py-hdbscan/files/patch-pyproject.toml deleted file mode 100644 index 8737982fa424..000000000000 --- a/math/py-hdbscan/files/patch-pyproject.toml +++ /dev/null @@ -1,11 +0,0 @@ ---- pyproject.toml.orig 2023-07-18 17:51:04 UTC -+++ pyproject.toml -@@ -2,6 +2,6 @@ requires = [ - requires = [ - "setuptools", - "wheel", -- "cython<3", -- "oldest-supported-numpy" -+ "cython", -+ "numpy" - ]