commit: 3a4aefebff189bf3eea674c215827925240f418f Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Sun Mar 17 21:18:32 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Mon May 6 08:23:31 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3a4aefeb
dev-python/hist: new package, add 2.7.2 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Closes: https://github.com/gentoo/sci/pull/1259 dev-python/hist/hist-2.7.2.ebuild | 26 ++++++++++++++++++++++++++ dev-python/hist/metadata.xml | 19 +++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/hist/hist-2.7.2.ebuild b/dev-python/hist/hist-2.7.2.ebuild new file mode 100644 index 000000000..082844a5f --- /dev/null +++ b/dev-python/hist/hist-2.7.2.ebuild @@ -0,0 +1,26 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=hatchling +SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +inherit distutils-r1 pypi + +DESCRIPTION="Histogramming for analysis powered by boost-histogram " +HOMEPAGE="https://github.com/scikit-hep/hist" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/boost-histogram-1.3.1[${PYTHON_USEDEP}] + >=dev-python/histoprint-2.2.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +RESTRICT="test" +# needs mplhep and dask_histogram ... +#distutils_enable_tests pytest diff --git a/dev-python/hist/metadata.xml b/dev-python/hist/metadata.xml new file mode 100644 index 000000000..566083fe3 --- /dev/null +++ b/dev-python/hist/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"> + Hist is an analyst-friendly front-end for boost-histogram, designed for Python 3.7+ (3.6 users get version 2.4) + </longdescription> + <upstream> + <remote-id type="pypi">hist</remote-id> + <remote-id type="github">scikit-hep/hist</remote-id> + </upstream> +</pkgmetadata>
