gentoo/dev-python/awkward-cpp/awkward-cpp-48.ebuild
Michał Górny 1b9d8c90f3
dev-python/awkward-cpp: Bump to 48
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-07-31 05:27:56 +02:00

39 lines
794 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
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/
"
# MIT from rapidjson
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-python/pybind11-3[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
default
# https://github.com/scikit-build/scikit-build-core/issues/912
sed -i -e '/scikit-build-core/s:0\.11:0.8:' pyproject.toml || die
}