commit: 9d971a0318a1ff7968af1aa21ad4cd756a470f28 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Mon Mar 31 14:20:21 2025 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Wed Apr 2 10:55:04 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9d971a03
dev-python/dask-histogram: new package, add 2025.2.0 Closes: https://github.com/gentoo/sci/pull/1341 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> dev-python/dask-histogram/.build | 1 + .../dask-histogram/dask-histogram-2025.2.0.ebuild | 35 ++++++++++++++++++++++ dev-python/dask-histogram/metadata.xml | 19 ++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/dask-histogram/.build b/dev-python/dask-histogram/.build new file mode 100644 index 000000000..4504f4877 --- /dev/null +++ b/dev-python/dask-histogram/.build @@ -0,0 +1 @@ +random_build diff --git a/dev-python/dask-histogram/dask-histogram-2025.2.0.ebuild b/dev-python/dask-histogram/dask-histogram-2025.2.0.ebuild new file mode 100644 index 000000000..16b72acbc --- /dev/null +++ b/dev-python/dask-histogram/dask-histogram-2025.2.0.ebuild @@ -0,0 +1,35 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 # pypi does not include tests + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +DESCRIPTION="Histograms with task scheduling." +HOMEPAGE=" + https://github.com/dask-contrib/dask-histogram + https://dask-histogram.readthedocs.io/ +" +SRC_URI=" + https://github.com/dask-contrib/dask-histogram/archive/refs/tags/${PV}.tar.gz -> {P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/boost-histogram-1.3.2[${PYTHON_USEDEP}] + >=dev-python/dask-2021.03.0[${PYTHON_USEDEP}] + >=dev-python/dask-awkward-2025[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/hist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/dask-histogram/metadata.xml b/dev-python/dask-histogram/metadata.xml new file mode 100644 index 000000000..145c91b86 --- /dev/null +++ b/dev-python/dask-histogram/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <longdescription lang="en"> +Dask-histogram provides a new collection type for lazily constructing histogram objects. The API provided by boost-histogram is leveraged to calculate histograms on chunked/partitioned data from the core Dask Array and DataFrame collections. + </longdescription> + <upstream> + <remote-id type="pypi">dask-histogram</remote-id> + <remote-id type="github">dask-contirb/dask-histogram</remote-id> + </upstream> +</pkgmetadata>
