mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
dev-lang/python-exec: Respect PYTHON_TARGETS (NFC)
Actually use PYTHON_TARGETS when building implementation list. This is NFC since all targets are package.use.forced but it lets advanced users customize behavior via un-forcing those flags. Bug: https://bugs.gentoo.org/693910 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -27,8 +27,10 @@ RDEPEND="
|
||||
src_configure() {
|
||||
local pyimpls=() i EPYTHON
|
||||
for i in "${_PYTHON_ALL_IMPLS[@]}"; do
|
||||
python_export "${i}" EPYTHON
|
||||
pyimpls+=( "${EPYTHON}" )
|
||||
if use "python_targets_${i}"; then
|
||||
python_export "${i}" EPYTHON
|
||||
pyimpls+=( "${EPYTHON}" )
|
||||
fi
|
||||
done
|
||||
|
||||
local myconf=(
|
||||
|
||||
Reference in New Issue
Block a user