commit: c765189268610d7516a1a83d82f7e8bd482ce84b Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Tue Mar 19 19:30:45 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Wed Mar 20 10:21:24 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c7651892
sci-physics/uproot: new package, add 5.3.1 Closes: https://github.com/gentoo/sci/pull/1261 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> sci-physics/uproot/metadata.xml | 21 +++++++++++++++++++++ sci-physics/uproot/uproot-5.3.1.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sci-physics/uproot/metadata.xml b/sci-physics/uproot/metadata.xml new file mode 100644 index 000000000..1b293facb --- /dev/null +++ b/sci-physics/uproot/metadata.xml @@ -0,0 +1,21 @@ +<?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"> + Uproot is a library for reading and writing ROOT files in pure Python and NumPy. + + Unlike the standard C++ ROOT implementation, Uproot is only an I/O library, primarily intended to stream data into machine learning libraries in Python. Unlike PyROOT and root_numpy, Uproot does not depend on C++ ROOT. Instead, it uses Numpy to cast blocks of data from the ROOT file as Numpy arrays. + </longdescription> + <upstream> + <remote-id type="pypi">uproot</remote-id> + <remote-id type="github">scikit-hep/uproot5</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-physics/uproot/uproot-5.3.1.ebuild b/sci-physics/uproot/uproot-5.3.1.ebuild new file mode 100644 index 000000000..cfc3880e9 --- /dev/null +++ b/sci-physics/uproot/uproot-5.3.1.ebuild @@ -0,0 +1,28 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=hatchling +SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +inherit distutils-r1 pypi + +DESCRIPTION="ROOT I/O in pure Python and Numpy." +HOMEPAGE="https://github.com/scikit-hep/uproot" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/awkward-2.4.6[${PYTHON_USEDEP}] + >=dev-python/cramjam-2.5.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +# way too many missing packages, isal, deflate, xxhash, http servers etc +# distutils_enable_tests pytest
