sci-physics/pythia: add python optfeatures

Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Part-of: https://github.com/gentoo/gentoo/pull/41939
Closes: 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:56:18 +02:00
committed by Nowa Ammerlaan
parent d4c1a13b84
commit 6bf984d0d5
2 changed files with 12 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
inherit toolchain-funcs python-single-r1
inherit toolchain-funcs python-single-r1 optfeature
MV=$(ver_cut 1-2)
MY_P="${PN}${PV//./}"
@@ -212,3 +212,8 @@ src_install() {
# cleanup
unset PYTHIADIR EPYTHIADIR
}
pkg_postinstall() {
optfeature "python interface awkward array support" dev-python/awkward
optfeature "python interface vector support" dev-python/vector
}

View File

@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
inherit toolchain-funcs python-single-r1
inherit toolchain-funcs python-single-r1 optfeature
MV=$(ver_cut 1-2)
MY_P="${PN}${PV//./}"
@@ -212,3 +212,8 @@ src_install() {
# cleanup
unset PYTHIADIR EPYTHIADIR
}
pkg_postinstall() {
optfeature "python interface awkward array support" dev-python/awkward
optfeature "python interface vector support" dev-python/vector
}