summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-28 10:56:55 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-28 10:56:55 +0000
commitc2f218fff771e6ab3005bc07a3f96ec6274e575f (patch)
tree3e7a481ec3c57ee72206bc3f315b5230daa246fd /eclass/distutils-r1.eclass
parentclean old impl, rm old (diff)
downloadgentoo-2-c2f218fff771e6ab3005bc07a3f96ec6274e575f.tar.gz
gentoo-2-c2f218fff771e6ab3005bc07a3f96ec6274e575f.tar.bz2
gentoo-2-c2f218fff771e6ab3005bc07a3f96ec6274e575f.zip
Verbosely deprecate python_parallel_foreach_impl and DISTUTILS_NO_PARALLEL_BUILD.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index c532c152ed1c..da5c6871af91 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.107 2014/12/27 19:00:10 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.108 2014/12/28 10:56:55 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -652,6 +652,13 @@ _distutils-r1_run_common_phase() {
_distutils-r1_run_foreach_impl() {
debug-print-function ${FUNCNAME} "${@}"
+ if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
+ eqawarn "DISTUTILS_NO_PARALLEL_BUILD is no longer meaningful. Now all builds"
+ eqawarn "are non-parallel. Please remove it from the ebuild."
+
+ unset DISTUTILS_NO_PARALLEL_BUILD # avoid repeated warnings
+ fi
+
# store for restoring after distutils-r1_run_phase.
local _DISTUTILS_INITIAL_CWD=${PWD}
set -- distutils-r1_run_phase "${@}"