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
commit4ac0bd159b620bd9fac443edf2c5cef4323433c9 (patch)
tree45c742fbb723ee26474e71477e5eb73e44887559 /eclass/python-r1.eclass
parentclean old impl, rm old (diff)
downloadhistorical-4ac0bd159b620bd9fac443edf2c5cef4323433c9.tar.gz
historical-4ac0bd159b620bd9fac443edf2c5cef4323433c9.tar.bz2
historical-4ac0bd159b620bd9fac443edf2c5cef4323433c9.zip
Verbosely deprecate python_parallel_foreach_impl and DISTUTILS_NO_PARALLEL_BUILD.
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 482e6462be4f..32543de87383 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-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/python-r1.eclass,v 1.80 2014/12/07 19:15:19 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.81 2014/12/28 10:56:55 mgorny Exp $
# @ECLASS: python-r1
# @MAINTAINER:
@@ -724,6 +724,13 @@ python_foreach_impl() {
python_parallel_foreach_impl() {
debug-print-function ${FUNCNAME} "${@}"
+ 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."
+
+ _PYTHON_PARALLEL_WARNED=1
+ fi
+
local MULTIBUILD_VARIANTS
_python_obtain_impls
multibuild_foreach_variant _python_multibuild_wrapper "${@}"