commit: a3612b0a9d870dd7226922483493ae1712b551b6
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 06:18:15 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 06:19:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3612b0a
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")
eclass/python-r1.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index f7a8541..76fd944 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
}