git: 6be2645c72cf - main - devel/py-dask-histogram: Add py-dask-histogram 2023.4.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 21:49:23 UTC
The branch main has been updated by sunpoet:

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

commit 6be2645c72cf76a26931f0a28186ea0018425ae8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 21:37:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 21:37:18 +0000

    devel/py-dask-histogram: Add py-dask-histogram 2023.4.2
    
    The boost-histogram library provides a performant object oriented API for
    histogramming in Python. Building on the foundation of boost-histogram,
    dask-histogram adds support for lazy calculations on Dask collections.
---
 devel/Makefile                    |  1 +
 devel/py-dask-histogram/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-dask-histogram/distinfo  |  3 +++
 devel/py-dask-histogram/pkg-descr |  3 +++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index ab7a70b8cf7b..6652c9caa5c0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4494,6 +4494,7 @@
     SUBDIR += py-dal
     SUBDIR += py-darts.util.lru
     SUBDIR += py-dask
+    SUBDIR += py-dask-histogram
     SUBDIR += py-dataclasses-json
     SUBDIR += py-datadog
     SUBDIR += py-datapackage
diff --git a/devel/py-dask-histogram/Makefile b/devel/py-dask-histogram/Makefile
new file mode 100644
index 000000000000..ef147df7fec8
--- /dev/null
+++ b/devel/py-dask-histogram/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	dask-histogram
+PORTVERSION=	2023.4.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	dask_histogram-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Histogramming with Dask
+WWW=		https://github.com/dask-contrib/dask-histogram
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boost-histogram>=1.3.2:misc/py-boost-histogram@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dask>=2021.03.0:devel/py-dask@${PY_FLAVOR}
+
+USES=		python:3.8+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-dask-histogram/distinfo b/devel/py-dask-histogram/distinfo
new file mode 100644
index 000000000000..ac114a96047b
--- /dev/null
+++ b/devel/py-dask-histogram/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681843822
+SHA256 (dask_histogram-2023.4.2.tar.gz) = 75636e49cbf754ef5d2e95049f4777f7e8633e26c92554f15b012bec9ed68450
+SIZE (dask_histogram-2023.4.2.tar.gz) = 22795
diff --git a/devel/py-dask-histogram/pkg-descr b/devel/py-dask-histogram/pkg-descr
new file mode 100644
index 000000000000..b7adb61d870a
--- /dev/null
+++ b/devel/py-dask-histogram/pkg-descr
@@ -0,0 +1,3 @@
+The boost-histogram library provides a performant object oriented API for
+histogramming in Python. Building on the foundation of boost-histogram,
+dask-histogram adds support for lazy calculations on Dask collections.