commit: 8a4d467d58536e3dff1097ebb653136c0e54158d Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Mon May 5 08:36:01 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Fri May 9 12:21:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4d467d
dev-python/awkward-cpp: new package, add 45 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-cpp/Manifest | 1 + dev-python/awkward-cpp/awkward-cpp-45.ebuild | 36 ++++++++++++++++++++++++++++ dev-python/awkward-cpp/metadata.xml | 29 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/dev-python/awkward-cpp/Manifest b/dev-python/awkward-cpp/Manifest new file mode 100644 index 000000000000..78b1b3ca0ef5 --- /dev/null +++ b/dev-python/awkward-cpp/Manifest @@ -0,0 +1 @@ +DIST awkward_cpp-45.tar.gz 1688280 BLAKE2B 3e56e8efc311ac8ca4ddf1dbf3c46821a6bd6b188a9402c16e8d84ecb1c2e3d7d9cafb96abf6f7f63cda613d1bb366bc8768643e6e8ce09da21d35f0f9e51cd1 SHA512 85511b5393a3d5c3dbb5e2a3fa350895b92f3b39a73c150723113ef8a20e01cc2e47866db151ee41182a0c7eedba1746f7d621c845d19767947de8118f77c91c diff --git a/dev-python/awkward-cpp/awkward-cpp-45.ebuild b/dev-python/awkward-cpp/awkward-cpp-45.ebuild new file mode 100644 index 000000000000..22d1746d759c --- /dev/null +++ b/dev-python/awkward-cpp/awkward-cpp-45.ebuild @@ -0,0 +1,36 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core + +inherit distutils-r1 pypi + +DESCRIPTION="CPU kernels and compiled extensions for Awkward Array" +HOMEPAGE=" + https://github.com/scikit-hep/awkward/ + https://pypi.org/project/awkward-cpp/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/numpy-1.18.0[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-python/pybind11[${PYTHON_USEDEP}] +" + +src_prepare() { + default + # https://github.com/scikit-build/scikit-build-core/issues/912 + sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die +} + +distutils_enable_tests pytest diff --git a/dev-python/awkward-cpp/metadata.xml b/dev-python/awkward-cpp/metadata.xml new file mode 100644 index 000000000000..4d7f13e5c550 --- /dev/null +++ b/dev-python/awkward-cpp/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-cpp provides precompiled routines for the awkward package. It is not useful on its own, only as a dependency for awkward . + </longdescription> + <upstream> + <remote-id type="pypi">awkward</remote-id> + <remote-id type="github">scikit-hep/awkward</remote-id> + </upstream> +</pkgmetadata>
