mgorny      14/12/28 10:56:55

  Modified:             ChangeLog distutils-r1.eclass python-r1.eclass
  Log:
  Verbosely deprecate python_parallel_foreach_impl and 
DISTUTILS_NO_PARALLEL_BUILD.

Revision  Changes    Path
1.1484               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1484&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1484&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1483&r2=1.1484

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1483
retrieving revision 1.1484
diff -u -r1.1483 -r1.1484
--- ChangeLog   28 Dec 2014 10:13:18 -0000      1.1483
+++ ChangeLog   28 Dec 2014 10:56:55 -0000      1.1484
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1483 2014/12/28 
10:13:18 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1484 2014/12/28 
10:56:55 mgorny Exp $
+
+  28 Dec 2014; Michał Górny <[email protected]> distutils-r1.eclass,
+  python-r1.eclass:
+  Verbosely deprecate python_parallel_foreach_impl and
+  DISTUTILS_NO_PARALLEL_BUILD.
 
   28 Dec 2014; Hans de Graaff <[email protected]> ruby-fakegem.eclass:
   Add test recipe for rspec:3 slot.



1.108                eclass/distutils-r1.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.108&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.108&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?r1=1.107&r2=1.108

Index: distutils-r1.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- distutils-r1.eclass 27 Dec 2014 19:00:10 -0000      1.107
+++ distutils-r1.eclass 28 Dec 2014 10:56:55 -0000      1.108
@@ -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_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 "${@}"



1.81                 eclass/python-r1.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?rev=1.81&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?rev=1.81&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?r1=1.80&r2=1.81

Index: python-r1.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- python-r1.eclass    7 Dec 2014 19:15:19 -0000       1.80
+++ python-r1.eclass    28 Dec 2014 10:56:55 -0000      1.81
@@ -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_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 "${@}"




Reply via email to