aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testdata/repos/python/eclass/python-any-r1.eclass10
1 files changed, 4 insertions, 6 deletions
diff --git a/testdata/repos/python/eclass/python-any-r1.eclass b/testdata/repos/python/eclass/python-any-r1.eclass
index 1066a5ad..8cfc2f5c 100644
--- a/testdata/repos/python/eclass/python-any-r1.eclass
+++ b/testdata/repos/python/eclass/python-any-r1.eclass
@@ -12,16 +12,14 @@
_python_set_impls() {
local i slot
- local -a use
+ PYTHON_DEPS="|| ("
for i in "${PYTHON_COMPAT[@]}"; do
slot=${i#python}
slot=${slot/_/.}
- use+=( "python_targets_${i}" )
- PYTHON_DEPS+=" python_targets_${i}? ( dev-lang/python:${slot} )"
+ PYTHON_DEPS+=" dev-lang/python:${slot}"
done
- IUSE+=" ${use[@]}"
- PYTHON_REQUIRED_USE="|| ( ${use[@]} )"
- PYTHON_USEDEP=$(IFS=","; echo "${use[*]}")
+ PYTHON_DEPS+=" )"
+ PYTHON_REQUIRED_USE='I-DO-NOT-EXIST-IN-PYTHON-ANY-R1'
}
_python_set_impls