projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4af6bc
)
python-r1.eclass: Ban python_parallel_foreach_impl in EAPI 6
author
Michał Górny
<mgorny@gentoo.org>
Wed, 18 Nov 2015 21:27:15 +0000
(22:27 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Sat, 28 Nov 2015 19:09:06 +0000
(20:09 +0100)
eclass/python-r1.eclass
patch
|
blob
|
history
diff --git
a/eclass/python-r1.eclass
b/eclass/python-r1.eclass
index d3b4f1d500f72de24b6cec2ec141eb60606aa115..1531442caff8ae123ff9f64e26591083ab30b37f 100644
(file)
--- a/
eclass/python-r1.eclass
+++ b/
eclass/python-r1.eclass
@@
-526,6
+526,8
@@
python_foreach_impl() {
python_parallel_foreach_impl() {
debug-print-function ${FUNCNAME} "${@}"
+ [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}"
+
if [[ ! ${_PYTHON_PARALLEL_WARNED} ]]; then
eqawarn "python_parallel_foreach_impl() is no longer meaningful. All runs"
eqawarn "are non-parallel now. Please replace the call with python_foreach_impl."