git: b73df4d1fd13 - main - devel/py-anndata: Update to 0.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Oct 2023 12:02:59 UTC
The branch main has been updated by sunpoet:

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

commit b73df4d1fd1382a60995c0cab7866a8a9efab919
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-08 11:54:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-08 11:54:48 +0000

    devel/py-anndata: Update to 0.10.0
    
    Changes:        https://github.com/scverse/anndata/tree/main/docs/release-notes
                    https://anndata.readthedocs.io/en/latest/release-notes/index.html
---
 devel/py-anndata/Makefile | 22 ++++++++++++----------
 devel/py-anndata/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/devel/py-anndata/Makefile b/devel/py-anndata/Makefile
index e3799f070ee1..3d903811d62e 100644
--- a/devel/py-anndata/Makefile
+++ b/devel/py-anndata/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	anndata
-PORTVERSION=	0.9.2
+PORTVERSION=	0.10.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,23 +12,25 @@ WWW=		https://anndata.readthedocs.io/en/latest/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}array-api-compat>=0:devel/py-array-api-compat@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}h5py>=3:science/py-h5py@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}natsort>=0:devel/py-natsort@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.16.5,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pandas>=1.1.1,1:math/py-pandas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>=3:science/py-h5py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}natsort>=0:devel/py-natsort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.16.5,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>=1.1.1,1:math/py-pandas@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-anndata/distinfo b/devel/py-anndata/distinfo
index e2a9a24b3d1c..3549f4b90ae6 100644
--- a/devel/py-anndata/distinfo
+++ b/devel/py-anndata/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1691070022
-SHA256 (anndata-0.9.2.tar.gz) = e5b8383d09723af674cae7ad0c2ef53eb1f8c73949b7f4c182a6e30f42196327
-SIZE (anndata-0.9.2.tar.gz) = 93755
+TIMESTAMP = 1696753640
+SHA256 (anndata-0.10.0.tar.gz) = fbe501c97df232e08d0a1f438f663872b650fb0d5150d2bb072cfe53110f4680
+SIZE (anndata-0.10.0.tar.gz) = 158375