commit:     41b56bcda763bde69b381d637ce85ca975e1f589
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: Thu Nov 26 22:33:45 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41b56bcd

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