git: b0c932f43188 - main - databases/py-tiledb: Update to 0.8.7

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat May 1 22:22:06 UTC 2021


The branch main has been updated by sunpoet:

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

commit b0c932f43188202794d7eb56c1e06c9aeec09fc9
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-01 22:14:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-01 22:19:13 +0000

    databases/py-tiledb: Update to 0.8.7
    
    Changes:        https://github.com/TileDB-Inc/TileDB-Py/releases
---
 databases/py-tiledb/Makefile             | 20 +++++++++++++-------
 databases/py-tiledb/distinfo             |  6 +++---
 databases/py-tiledb/files/patch-setup.py | 23 +++++++++++++++++++++++
 3 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/databases/py-tiledb/Makefile b/databases/py-tiledb/Makefile
index cc5e7dd2ae8c..89b97fb1ae48 100644
--- a/databases/py-tiledb/Makefile
+++ b/databases/py-tiledb/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
 
 PORTNAME=	tiledb
-PORTVERSION=	0.8.1
+PORTVERSION=	0.8.7
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,15 +15,21 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 NOT_FOR_ARCHS=	i386
 NOT_FOR_ARCHS_REASON=	is currently 64-bit only
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython>=0.27:lang/cython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pybind11>=2.6.2:devel/py-pybind11@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.5.4:devel/py-setuptools_scm@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0.30:devel/py-wheel@${PY_FLAVOR} \
-		${RUN_DEPENDS} \
-		tiledb>=2.1.6:databases/tiledb
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1:math/py-numpy@${PY_FLAVOR} \
+		tiledb>=2.2.7:databases/tiledb
 LIB_DEPENDS=	libtiledb.so:databases/tiledb
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1:math/py-numpy@${PY_FLAVOR}
 
-USES=		compiler:c++11-lang localbase python:3.5+
+USES=		compiler:c++11-lang localbase python:3.6+
 USE_PYTHON=	autoplist concurrent cython distutils
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3700
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/py-tiledb/distinfo b/databases/py-tiledb/distinfo
index a1a25a6d3968..48ca338b01a3 100644
--- a/databases/py-tiledb/distinfo
+++ b/databases/py-tiledb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612519127
-SHA256 (tiledb-0.8.1.tar.gz) = 779cfa1c9d8be757d93863b1b889623e90ecaeb551c04167d1291a7ded9f37ad
-SIZE (tiledb-0.8.1.tar.gz) = 188878
+TIMESTAMP = 1619725341
+SHA256 (tiledb-0.8.7.tar.gz) = 79f9371cfb9d101c70cf20624f851d0679caf9ca8b527106fad93afc4d38ce94
+SIZE (tiledb-0.8.7.tar.gz) = 205466
diff --git a/databases/py-tiledb/files/patch-setup.py b/databases/py-tiledb/files/patch-setup.py
new file mode 100644
index 000000000000..530c7a44bedb
--- /dev/null
+++ b/databases/py-tiledb/files/patch-setup.py
@@ -0,0 +1,23 @@
+--- setup.py.orig	2021-04-11 12:39:58 UTC
++++ setup.py
+@@ -517,11 +517,9 @@ def cmake_available():
+ def setup_requires():
+     req = [
+         "cython>=0.27",
+-        "numpy==1.16.* ; python_version < '3.9'",
+-        "numpy ; python_version >= '3.9'",
++        "numpy>=1.16",
+         "setuptools>=18.0",
+         "setuptools_scm>=1.5.4",
+-        "wheel>=0.30",
+         "pybind11>=2.6.2",
+     ]
+     # Add cmake requirement if libtiledb is not found and cmake is not available.
+@@ -721,7 +719,6 @@ setup(
+     setup_requires=setup_requires(),
+     install_requires=[
+         "numpy>=1.16",
+-        "wheel>=0.30",
+         "dataclasses ;python_version<'3.7'",
+     ],
+     tests_require=TESTS_REQUIRE,


More information about the dev-commits-ports-all mailing list