1 |
--- |
2 |
eclass/python-r1.eclass | 2 ++ |
3 |
1 file changed, 2 insertions(+) |
4 |
|
5 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
6 |
index d3b4f1d..1531442 100644 |
7 |
--- a/eclass/python-r1.eclass |
8 |
+++ b/eclass/python-r1.eclass |
9 |
@@ -526,6 +526,8 @@ python_foreach_impl() { |
10 |
python_parallel_foreach_impl() { |
11 |
debug-print-function ${FUNCNAME} "${@}" |
12 |
|
13 |
+ [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}" |
14 |
+ |
15 |
if [[ ! ${_PYTHON_PARALLEL_WARNED} ]]; then |
16 |
eqawarn "python_parallel_foreach_impl() is no longer meaningful. All runs" |
17 |
eqawarn "are non-parallel now. Please replace the call with python_foreach_impl." |
18 |
-- |
19 |
2.6.3 |