aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-05 21:15:17 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-05 21:15:17 +0000
commitc16389ad46aea0b5b90b92df74eb250a6b7c3f45 (patch)
tree5694ed6eaa98cd835c43dbb8038eaf64e508d699
parenteee3c957bd3d22f1e08c42ed590131e8e99caa8d (diff)
math/py-hdbscan: Fix b0b4d9e1eae890d0de1591e20fb37358439a2ff6
- Update version requirement of *_DEPENDS - Remove pyproject.toml patch Note that math/py-numpy has PORTEPOCH=1.
-rw-r--r--math/py-hdbscan/Makefile4
-rw-r--r--math/py-hdbscan/files/patch-pyproject.toml11
2 files changed, 2 insertions, 13 deletions
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
@@ -12,11 +12,11 @@ WWW= https://hdbscan.readthedocs.io/en/latest/ \
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}
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"
- ]