git: 5d2741eb88aa - main - databases/py-tiledb: Update to 0.21.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 07:18:25 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d2741eb88aa47a875fa4ff5079f104ca65a5cde

commit 5d2741eb88aa47a875fa4ff5079f104ca65a5cde
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:02:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:02:27 +0000

    databases/py-tiledb: Update to 0.21.5
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/TileDB-Inc/TileDB-Py/releases
---
 databases/py-tiledb/Makefile                   |  8 +++++---
 databases/py-tiledb/distinfo                   |  6 +++---
 databases/py-tiledb/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/databases/py-tiledb/Makefile b/databases/py-tiledb/Makefile
index f8202002b39d..4e5345dca792 100644
--- a/databases/py-tiledb/Makefile
+++ b/databases/py-tiledb/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tiledb
-PORTVERSION=	0.21.4
+PORTVERSION=	0.21.5
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,14 +17,16 @@ NOT_FOR_ARCHS_REASON=	is currently 64-bit only
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0.27:lang/cython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.23.2,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pybind11>=2.6.2:devel/py-pybind11@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.5.4:devel/py-setuptools_scm@${PY_FLAVOR} \
-		tiledb>=2.15.3:databases/tiledb
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
+		tiledb>=2.15.4:databases/tiledb
 LIB_DEPENDS=	libtiledb.so:databases/tiledb
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.23.2,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
 
 USES=		compiler:c++17-lang localbase python
-USE_PYTHON=	autoplist concurrent cython distutils
+USE_PYTHON=	autoplist concurrent cython pep517
 
 MAKE_ENV=	TILEDB_PATH=${LOCALBASE}
 
diff --git a/databases/py-tiledb/distinfo b/databases/py-tiledb/distinfo
index 5ddcb2c48776..0d8636cfa88f 100644
--- a/databases/py-tiledb/distinfo
+++ b/databases/py-tiledb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685162066
-SHA256 (tiledb-0.21.4.tar.gz) = cda02b3174507015c6fbfe7aadb9cedda7549cde055747805f291640ef748fa7
-SIZE (tiledb-0.21.4.tar.gz) = 307716
+TIMESTAMP = 1686496702
+SHA256 (tiledb-0.21.5.tar.gz) = 50470705db4c8bc48b923949e17f5aab9564366f9a4373753a402d17c206e69b
+SIZE (tiledb-0.21.5.tar.gz) = 307864
diff --git a/databases/py-tiledb/files/patch-pyproject.toml b/databases/py-tiledb/files/patch-pyproject.toml
new file mode 100644
index 000000000000..7eebc5f77107
--- /dev/null
+++ b/databases/py-tiledb/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-06-08 15:51:33 UTC
++++ pyproject.toml
+@@ -2,7 +2,7 @@
+ 
+ # https://askubuntu.com/a/1407138
+ # we encounter the above error in versions of setuptools<=58.3.0
+-requires = ["setuptools>=42,<=58.3.0", "wheel", "pybind11>=2.6.2"]
++requires = ["setuptools>=42", "wheel", "pybind11>=2.6.2"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.pytest.ini_options]