commit:     38c28bc45eb258b50e5e67974181bb5da412beda
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun Mar 30 10:27:50 2025 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Wed Apr  2 10:54:52 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=38c28bc4

dev-python/awkward: add 2.8.1

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 dev-python/awkward/awkward-2.8.1.ebuild | 52 +++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/dev-python/awkward/awkward-2.8.1.ebuild 
b/dev-python/awkward/awkward-2.8.1.ebuild
new file mode 100644
index 000000000..8b8ee40e6
--- /dev/null
+++ b/dev-python/awkward/awkward-2.8.1.ebuild
@@ -0,0 +1,52 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=hatchling
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1 pypi
+
+DESCRIPTION="Manipulate JSON-like data with NumPy-like idioms."
+HOMEPAGE="https://github.com/scikit-hep/awkward";
+
+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}]
+       ' python3_{10..11})
+       >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+       ' python3_10)
+       >=dev-python/fsspec-2022.11.0[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+       dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+       test? (
+               dev-libs/apache-arrow[zstd]
+               dev-python/numba[${PYTHON_USEDEP}]
+               dev-python/pyarrow[${PYTHON_USEDEP}]
+               dev-python/numexpr[${PYTHON_USEDEP}]
+               dev-python/pandas[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_IGNORE=(
+       tests-cuda/
+       tests-cuda-kernels/
+       tests/test_3259_to_torch_from_torch.py # fails if just caffe2 but not 
pytorch is installed
+       tests/test_0119_numexpr_and_broadcast_arrays.py # no idea why it fails, 
seems to be a numexpr error
+       # see https://github.com/scikit-hep/awkward/issues/3402
+       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

Reply via email to