commit:     e9dc926d4fcb419f04073374095ac1214c0bc0e0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 21:58:19 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 19:09:06 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9dc926d

distutils-r1.eclass: Ban DISTUTILS_NO_PARALLEL_BUILD in EAPI 6

 eclass/distutils-r1.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 1cf2a49..551bc09 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -693,6 +693,8 @@ _distutils-r1_run_foreach_impl() {
        debug-print-function ${FUNCNAME} "${@}"
 
        if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
+               [[ ${EAPI} == [45] ]] || die "DISTUTILS_NO_PARALLEL_BUILD is 
banned in EAPI ${EAPI}"
+
                eqawarn "DISTUTILS_NO_PARALLEL_BUILD is no longer meaningful. 
Now all builds"
                eqawarn "are non-parallel. Please remove it from the ebuild."
 

Reply via email to