diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-12-22 22:18:15 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-12-22 22:19:01 -0800 |
commit | a3612b0a9d870dd7226922483493ae1712b551b6 (patch) | |
tree | 2694e3d8188960c14c507bc972a9c1553f049bb6 /eclass/python-r1.eclass | |
parent | version bump (bug #564076) (diff) | |
download | gentoo-a3612b0a9d870dd7226922483493ae1712b551b6.tar.gz gentoo-a3612b0a9d870dd7226922483493ae1712b551b6.tar.bz2 gentoo-a3612b0a9d870dd7226922483493ae1712b551b6.zip |
python-r1.eclass: _python_obtain_impls: handle local PYTHON_COMPAT
See local PYTHON_COMPAT setting in _distutils-r1_run_common_phase.
Fixes: 33380ad5e121 ("python*-r1.eclass: Commonize PYTHON_COMPAT processing, cache the result")
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r-- | eclass/python-r1.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index f7a8541f9b7b..76fd944f0b8c 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -440,6 +440,7 @@ _python_obtain_impls() { MULTIBUILD_VARIANTS=() for impl in "${_PYTHON_SUPPORTED_IMPLS[@]}"; do + has "${impl}" "${PYTHON_COMPAT[@]}" && \ use "python_targets_${impl}" && MULTIBUILD_VARIANTS+=( "${impl}" ) done } |