mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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:
committed by
Nowa Ammerlaan
parent
d4c1a13b84
commit
6bf984d0d5
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user