aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-15 15:34:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-15 15:34:41 +0000
commit7930357c735747cf26930cf9576f52aab39e7f00 (patch)
treea3e8f5e87539eeb9c36190f2172403da837686a8
parent1d99444028ffe7f8cf0041b14bfed2c772f32f5f (diff)
math/py-hdbscan: Update to 0.8.43
-rw-r--r--math/py-hdbscan/Makefile6
-rw-r--r--math/py-hdbscan/distinfo6
-rw-r--r--math/py-hdbscan/files/patch-pyproject.toml10
-rw-r--r--math/py-hdbscan/files/patch-setup.py11
4 files changed, 16 insertions, 17 deletions
diff --git a/math/py-hdbscan/Makefile b/math/py-hdbscan/Makefile
index 008b8e8618e7..af24f12ece50 100644
--- a/math/py-hdbscan/Makefile
+++ b/math/py-hdbscan/Makefile
@@ -1,5 +1,5 @@
PORTNAME= hdbscan
-PORTVERSION= 0.8.42
+PORTVERSION= 0.8.43
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +12,8 @@ WWW= https://hdbscan.readthedocs.io/en/latest/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0,1<3,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=61: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,1<3,1:math/py-numpy@${PY_FLAVOR} \
diff --git a/math/py-hdbscan/distinfo b/math/py-hdbscan/distinfo
index 1a755d3fa56a..4776dc9ae624 100644
--- a/math/py-hdbscan/distinfo
+++ b/math/py-hdbscan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1776417128
-SHA256 (hdbscan-0.8.42.tar.gz) = 3bd749a3df39c7e965bd8b2173c3804cdb11ad73d524a5df1201360814293614
-SIZE (hdbscan-0.8.42.tar.gz) = 7089885
+TIMESTAMP = 1778751900
+SHA256 (hdbscan-0.8.43.tar.gz) = cfe6e7e68f153c92cef3d19a86d29c1075f33774b1e97d284ba79b157506c8bb
+SIZE (hdbscan-0.8.43.tar.gz) = 7089058
diff --git a/math/py-hdbscan/files/patch-pyproject.toml b/math/py-hdbscan/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e5ee36781851
--- /dev/null
+++ b/math/py-hdbscan/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig 2026-05-13 03:08:02 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ requires = [
+ [build-system]
+ requires = [
+- "setuptools>=64",
++ "setuptools>=61",
+ "wheel",
+ "cython>=3.0.11,<4",
+ "numpy>=2.0,<3"
diff --git a/math/py-hdbscan/files/patch-setup.py b/math/py-hdbscan/files/patch-setup.py
deleted file mode 100644
index dd9c27940c59..000000000000
--- a/math/py-hdbscan/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2023-07-18 17:51:04 UTC
-+++ setup.py
-@@ -85,7 +85,7 @@ configuration = {
- 'cmdclass': {'build_ext': CustomBuildExtCommand},
- 'test_suite': 'nose.collector',
- 'tests_require': ['nose'],
-- 'data_files': ('hdbscan/dist_metrics.pxd',)
-+ 'package_data': {'': ['hdbscan/dist_metrics.pxd']},
- }
-
- if not HAVE_CYTHON: