1 |
commit: 7d2c73b93294509cd500ed00ef046a4c6e5eaa3d |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 20:49:16 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 8 07:35:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2c73b9 |
7 |
|
8 |
python-r1.eclass: localize variable to avoid leaking into the env |
9 |
|
10 |
eclass/python-r1.eclass | 1 + |
11 |
1 file changed, 1 insertion(+) |
12 |
|
13 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
14 |
index 929ec8fa8f8..4d27881cd5c 100644 |
15 |
--- a/eclass/python-r1.eclass |
16 |
+++ b/eclass/python-r1.eclass |
17 |
@@ -476,6 +476,7 @@ _python_obtain_impls() { |
18 |
|
19 |
MULTIBUILD_VARIANTS=() |
20 |
|
21 |
+ local impl |
22 |
for impl in "${_PYTHON_SUPPORTED_IMPLS[@]}"; do |
23 |
has "${impl}" "${PYTHON_COMPAT[@]}" && \ |
24 |
use "python_targets_${impl}" && MULTIBUILD_VARIANTS+=( "${impl}" ) |