commit: 5a60f0d41192eb4220aff2e396382e450780b599 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Mon May 5 08:39:15 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Fri May 9 12:21:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a60f0d4
dev-python/awkward: new package, add 2.8.2 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Part-of: https://github.com/gentoo/gentoo/pull/41939 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> dev-python/awkward/Manifest | 1 + dev-python/awkward/awkward-2.8.2.ebuild | 57 +++++++++++++++++++++++++++++++++ dev-python/awkward/metadata.xml | 29 +++++++++++++++++ 3 files changed, 87 insertions(+) diff --git a/dev-python/awkward/Manifest b/dev-python/awkward/Manifest new file mode 100644 index 000000000000..1050d57bf79f --- /dev/null +++ b/dev-python/awkward/Manifest @@ -0,0 +1 @@ +DIST awkward-2.8.2.tar.gz 6221318 BLAKE2B 2ec8e4480c8840c82b2635ec62a893fcb819c3807285c709dd03b06f28c6a0d23ff3a1f1daf4a54d0c6e8765cd578f7170b4da2aeacc6ed3211e08b5398c1497 SHA512 04db2ff9876cda98382939ffee8dfdfd0ac16e00a52e9ad61974f046b98cdeeb1d60bd7727853fb2a3361497287cda9ab7df3a18dda896c279446272a8c3676b diff --git a/dev-python/awkward/awkward-2.8.2.ebuild b/dev-python/awkward/awkward-2.8.2.ebuild new file mode 100644 index 000000000000..991b08fe9b07 --- /dev/null +++ b/dev-python/awkward/awkward-2.8.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi + +DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms" +HOMEPAGE=" + https://github.com/scikit-hep/awkward + https://pypi.org/project/awkward/ + https://doi.org/10.5281/zenodo.4341376 +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-python/awkward-cpp-45[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] + ' 3.11) + >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/fsspec-2022.11.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + test? ( + dev-libs/apache-arrow[zstd] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ) +" + #dev-python/numba[${PYTHON_USEDEP}] # needs numba from sci + +EPYTEST_IGNORE=( + tests-cuda/ + tests-cuda-kernels/ + # fails if just caffe2 but not pytorch is installed + tests/test_3259_to_torch_from_torch.py + # no idea why it fails, seems to be a numexpr error + # see https://github.com/scikit-hep/awkward/issues/3402 + tests/test_0119_numexpr_and_broadcast_arrays.py + tests/test_1125_to_arrow_from_arrow.py + tests/test_1294_to_and_from_parquet.py + tests/test_1440_start_v2_to_parquet.py +) + +distutils_enable_tests pytest diff --git a/dev-python/awkward/metadata.xml b/dev-python/awkward/metadata.xml new file mode 100644 index 000000000000..e880464b72a7 --- /dev/null +++ b/dev-python/awkward/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>[email protected]</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <maintainer type="person" proxied="proxy"> + <email>[email protected]</email> + <name>Nowa Ammerlaan</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> + + + <longdescription lang="en"> + Awkward Array is a library for nested, variable-sized data, including arbitrary-length lists, records, mixed types, and missing data, using NumPy-like idioms. + </longdescription> + <upstream> + <remote-id type="pypi">awkward</remote-id> + <remote-id type="github">scikit-hep/awkward</remote-id> + </upstream> +</pkgmetadata>
