git: 285dc3721e4d - main - devel/py-zarr: New port: Implementation of chunked, compressed, N-dimensional arrays for Python

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 09:58:58 UTC
The branch main has been updated by yuri:

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

commit 285dc3721e4d7f14e08d185443693a921e9ec797
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-09 09:08:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-09 09:58:53 +0000

    devel/py-zarr: New port: Implementation of chunked, compressed, N-dimensional arrays for Python
---
 devel/Makefile          |  1 +
 devel/py-zarr/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-zarr/distinfo  |  3 +++
 devel/py-zarr/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1c9b8754c3fd..82434d54e653 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5624,6 +5624,7 @@
     SUBDIR += py-z3c.autoinclude
     SUBDIR += py-z3c.batching
     SUBDIR += py-z3c.zcmlhook
+    SUBDIR += py-zarr
     SUBDIR += py-zc.buildout
     SUBDIR += py-zclockfile
     SUBDIR += py-zconfig
diff --git a/devel/py-zarr/Makefile b/devel/py-zarr/Makefile
new file mode 100644
index 000000000000..5e703343fa27
--- /dev/null
+++ b/devel/py-zarr/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	zarr
+PORTVERSION=	2.13.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Implementation of chunked, compressed, N-dimensional arrays for Python
+WWW=		https://zarr.readthedocs.io/en/stable/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asciitree>0:graphics/py-asciitree@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fasteners>0:devel/py-fasteners@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numcodecs>=0.10.0:misc/py-numcodecs@${PY_FLAVOR} \
+		${PYNUMPY}
+
+USES=		python:3.8+
+USE_PYTHON=	distutils autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-zarr/distinfo b/devel/py-zarr/distinfo
new file mode 100644
index 000000000000..87a21c84582c
--- /dev/null
+++ b/devel/py-zarr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673235562
+SHA256 (zarr-2.13.3.tar.gz) = db24b090616c638f65e33a6bc5d956d642221182961515ccbc28b17fb0d0b48c
+SIZE (zarr-2.13.3.tar.gz) = 3577628
diff --git a/devel/py-zarr/pkg-descr b/devel/py-zarr/pkg-descr
new file mode 100644
index 000000000000..5214d607364a
--- /dev/null
+++ b/devel/py-zarr/pkg-descr
@@ -0,0 +1,2 @@
+Zarr is a Python package providing an implementation of compressed, chunked,
+N-dimensional arrays, designed for use in parallel computing.