dev-python/awkward-cpp: new package, add 45

Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Part-of: https://github.com/gentoo/gentoo/pull/41939
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Alexander Puck Neuwirth
2025-05-05 10:36:01 +02:00
committed by Nowa Ammerlaan
parent 06339c3712
commit 8a4d467d58
3 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST awkward_cpp-45.tar.gz 1688280 BLAKE2B 3e56e8efc311ac8ca4ddf1dbf3c46821a6bd6b188a9402c16e8d84ecb1c2e3d7d9cafb96abf6f7f63cda613d1bb366bc8768643e6e8ce09da21d35f0f9e51cd1 SHA512 85511b5393a3d5c3dbb5e2a3fa350895b92f3b39a73c150723113ef8a20e01cc2e47866db151ee41182a0c7eedba1746f7d621c845d19767947de8118f77c91c

View File

@@ -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

View File

@@ -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>alexander@neuwirth-informatik.de</email>
<name>Alexander Puck Neuwirth</name>
</maintainer>
<maintainer type="person" proxied="proxy">
<email>nowa@gentoo.org</email>
<name>Nowa Ammerlaan</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</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>