git: 4ab3cf5c4f1e - main - math/py-hdbscan: Update to 0.8.33

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:33:02 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ab3cf5c4f1e13702d008fed7221a1cbca20829b

commit 4ab3cf5c4f1e13702d008fed7221a1cbca20829b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:12:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:39 +0000

    math/py-hdbscan: Update to 0.8.33
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/scikit-learn-contrib/hdbscan/releases
---
 math/py-hdbscan/Makefile                   | 7 +++++--
 math/py-hdbscan/distinfo                   | 6 +++---
 math/py-hdbscan/files/patch-pyproject.toml | 9 +++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/math/py-hdbscan/Makefile b/math/py-hdbscan/Makefile
index 0209d62fa21b..68bc9c342459 100644
--- a/math/py-hdbscan/Makefile
+++ b/math/py-hdbscan/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	hdbscan
-PORTVERSION=	0.8.30
+PORTVERSION=	0.8.33
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,10 @@ WWW=		https://github.com/scikit-learn-contrib/hdbscan
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1:math/py-numpy@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0<3:lang/cython@${PY_FLAVOR} \
+		${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,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20:science/py-scikit-learn@${PY_FLAVOR} \
diff --git a/math/py-hdbscan/distinfo b/math/py-hdbscan/distinfo
index 0b6e09c824e1..0e8a3fe76779 100644
--- a/math/py-hdbscan/distinfo
+++ b/math/py-hdbscan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688902175
-SHA256 (hdbscan-0.8.30.tar.gz) = 2743f0ffd85d5c2c1071509596fba02f0c1a4d6c74c0008fbd5b6aa427831570
-SIZE (hdbscan-0.8.30.tar.gz) = 5201522
+TIMESTAMP = 1691070152
+SHA256 (hdbscan-0.8.33.tar.gz) = 57fabc5f0e45f48d2407b35c731192abc896376411fe7e4bb836ffa03d38f90d
+SIZE (hdbscan-0.8.33.tar.gz) = 5201533
diff --git a/math/py-hdbscan/files/patch-pyproject.toml b/math/py-hdbscan/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b2c10fc2e9d7
--- /dev/null
+++ b/math/py-hdbscan/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2023-07-18 17:51:04 UTC
++++ pyproject.toml
+@@ -3,5 +3,5 @@ requires = [
+   "setuptools",
+   "wheel",
+   "cython<3",
+-  "oldest-supported-numpy"
++  "numpy"
+ ]