git: c47b62f07513 - main - misc/py-anndata: Re-add port: Annotated multivariate observation data

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 26 Jul 2023 06:20:38 UTC
The branch main has been updated by yuri:

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

commit c47b62f07513ab8bc9d71c915e4391b31e32ac02
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-26 05:59:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-26 06:20:27 +0000

    misc/py-anndata: Re-add port: Annotated multivariate observation data
---
 misc/Makefile             |  1 +
 misc/py-anndata/Makefile  | 30 ++++++++++++++++++++++++++++++
 misc/py-anndata/distinfo  |  3 +++
 misc/py-anndata/pkg-descr |  2 ++
 4 files changed, 36 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 747b20b246ae..d308e8be8249 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -396,6 +396,7 @@
     SUBDIR += py-SimpleSoapy
     SUBDIR += py-SoapySDR
     SUBDIR += py-alive-progress
+    SUBDIR += py-anndata
     SUBDIR += py-apache-beam
     SUBDIR += py-ascii-magic
     SUBDIR += py-boost-histogram
diff --git a/misc/py-anndata/Makefile b/misc/py-anndata/Makefile
new file mode 100644
index 000000000000..b351b11c862e
--- /dev/null
+++ b/misc/py-anndata/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	anndata
+DISTVERSION=	0.9.2
+CATEGORIES=	misc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Annotated multivariate observation data
+WWW=		https://github.com/theislab/anndata
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>=3:science/py-h5py@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}natsort>0:devel/py-natsort@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.1.1:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>1.4:science/py-scipy@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.4:devel/py-flit-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.8+
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-anndata/distinfo b/misc/py-anndata/distinfo
new file mode 100644
index 000000000000..44ce294abd5f
--- /dev/null
+++ b/misc/py-anndata/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1690347364
+SHA256 (anndata-0.9.2.tar.gz) = e5b8383d09723af674cae7ad0c2ef53eb1f8c73949b7f4c182a6e30f42196327
+SIZE (anndata-0.9.2.tar.gz) = 93755
diff --git a/misc/py-anndata/pkg-descr b/misc/py-anndata/pkg-descr
new file mode 100644
index 000000000000..c241084f6fea
--- /dev/null
+++ b/misc/py-anndata/pkg-descr
@@ -0,0 +1,2 @@
+AnnData provides a scalable way of keeping track of data and learned
+annotations.