git: 3dc4b11a8a1d - main - databases/py-tiledb: Update to 0.22.1

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=3dc4b11a8a1d02a622caf3152d0ca017918aea7b

commit 3dc4b11a8a1d02a622caf3152d0ca017918aea7b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:11:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:14 +0000

    databases/py-tiledb: Update to 0.22.1
    
    Changes:        https://github.com/TileDB-Inc/TileDB-Py/releases
---
 databases/py-tiledb/Makefile                         | 10 +++++-----
 databases/py-tiledb/distinfo                         |  6 +++---
 databases/py-tiledb/files/patch-pyproject.toml       |  6 +++---
 databases/py-tiledb/files/patch-requirements_dev.txt | 11 ++++++-----
 4 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/databases/py-tiledb/Makefile b/databases/py-tiledb/Makefile
index ba954ddb45e8..7edb9fca2ad1 100644
--- a/databases/py-tiledb/Makefile
+++ b/databases/py-tiledb/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tiledb
-PORTVERSION=	0.21.6
+PORTVERSION=	0.22.1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,13 +14,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 NOT_FOR_ARCHS=	i386
 NOT_FOR_ARCHS_REASON=	is currently 64-bit only
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0.27:lang/cython@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0<3.0: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} \
-		${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}pybind11210>=0<2.11.0:devel/py-pybind11210@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.5.4:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
-		tiledb>=2.15.4:databases/tiledb
+		tiledb>=2.16.1: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}
diff --git a/databases/py-tiledb/distinfo b/databases/py-tiledb/distinfo
index 58ffda80972e..8eb2b93b343e 100644
--- a/databases/py-tiledb/distinfo
+++ b/databases/py-tiledb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166160
-SHA256 (tiledb-0.21.6.tar.gz) = f787617385de6b5391fef0c52e665b790ab1cb1fcc1cf78616b7134aebb86410
-SIZE (tiledb-0.21.6.tar.gz) = 308020
+TIMESTAMP = 1691069958
+SHA256 (tiledb-0.22.1.tar.gz) = 48d27a1be4fd6611cb282524eb4175acd8cb98a4f8b565eb596a7cf580fe8f95
+SIZE (tiledb-0.22.1.tar.gz) = 309316
diff --git a/databases/py-tiledb/files/patch-pyproject.toml b/databases/py-tiledb/files/patch-pyproject.toml
index 7eebc5f77107..6a4e0e7b17cf 100644
--- a/databases/py-tiledb/files/patch-pyproject.toml
+++ b/databases/py-tiledb/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
---- pyproject.toml.orig	2023-06-08 15:51:33 UTC
+--- pyproject.toml.orig	2023-07-31 14:34:13 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"]
+-requires = ["setuptools>=42,<=58.3.0", "wheel", "pybind11<2.11.0", "cython<3.0"]
++requires = ["setuptools>=42", "wheel", "pybind11<2.11.0", "cython<3.0"]
  build-backend = "setuptools.build_meta"
  
  [tool.pytest.ini_options]
diff --git a/databases/py-tiledb/files/patch-requirements_dev.txt b/databases/py-tiledb/files/patch-requirements_dev.txt
index 671705bbf8f9..e744dfa1f80d 100644
--- a/databases/py-tiledb/files/patch-requirements_dev.txt
+++ b/databases/py-tiledb/files/patch-requirements_dev.txt
@@ -1,15 +1,16 @@
---- requirements_dev.txt.orig	2023-01-04 19:23:00 UTC
+--- requirements_dev.txt.orig	2023-07-31 14:34:13 UTC
 +++ requirements_dev.txt
-@@ -3,11 +3,8 @@ numpy >= 1.16.5
+@@ -3,12 +3,10 @@ numpy >= 1.16.5
  # ------------------------------------------------
  # ** MUST sync with misc/requirements_wheel.txt **
  # ------------------------------------------------
 -cmake >= 3.23
--cython >= 0.27
- pybind11 >= 2.6.2
+ cython < 3.0
+ pybind11 < 2.11.0
 -setuptools>=42,<=58.3.0
 +setuptools>=42
  setuptools_scm >= 1.5.4
--wheel >= 0.30
+ wheel >= 0.30
  contextvars ;python_version<"3.7"
  dataclasses ;python_version<"3.7"
+-pytest