Gentoo Archives: gentoo-commits

From: Krzysztof Pawlik <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/nelchael:master commit in: eclass/
Date: Wed, 29 Feb 2012 17:38:43
Message-Id: 1330536743.a8e9c1353a96d317b1568da960148a62a589dc41.nelchael@gentoo
1 commit: a8e9c1353a96d317b1568da960148a62a589dc41
2 Author: Krzysztof Pawlik <none <AT> none>
3 AuthorDate: Wed Feb 29 17:32:23 2012 +0000
4 Commit: Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 29 17:32:23 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=commit;h=a8e9c135
7
8 Rename _python-distutils-ng_run_for_all_impls to _python-distutils-ng_run_for_each_impl.
9
10 ---
11 eclass/python-distutils-ng.eclass | 18 +++++++++---------
12 1 files changed, 9 insertions(+), 9 deletions(-)
13
14 diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
15 index 7be2653..b7d4219 100644
16 --- a/eclass/python-distutils-ng.eclass
17 +++ b/eclass/python-distutils-ng.eclass
18 @@ -140,13 +140,13 @@ _python-distutils-ng_run_for_impl() {
19 popd &> /dev/null
20 }
21
22 -# @FUNCTION: _python-distutils-ng_run_for_all_impls
23 +# @FUNCTION: _python-distutils-ng_run_for_each_impl
24 # @USAGE: command_to_run
25 # @DESCRIPTION:
26 # Run command_to_run for all enabled Python implementations.
27 #
28 # See also _python-distutils-ng_run_for_impl
29 -_python-distutils-ng_run_for_all_impls() {
30 +_python-distutils-ng_run_for_each_impl() {
31 local command="${1}"
32
33 for impl in ${PYTHON_COMPAT}; do
34 @@ -289,7 +289,7 @@ python-distutils-ng_src_prepare() {
35
36 # Run python_prepare for each implementation:
37 if type python_prepare &> /dev/null; then
38 - _python-distutils-ng_run_for_all_impls python_prepare
39 + _python-distutils-ng_run_for_each_impl python_prepare
40 fi
41 }
42
43 @@ -298,7 +298,7 @@ python-distutils-ng_src_configure() {
44 [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
45
46 if type python_configure &> /dev/null; then
47 - _python-distutils-ng_run_for_all_impls python_configure
48 + _python-distutils-ng_run_for_each_impl python_configure
49 fi
50 }
51
52 @@ -307,9 +307,9 @@ python-distutils-ng_src_compile() {
53 [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
54
55 if type python_compile &> /dev/null; then
56 - _python-distutils-ng_run_for_all_impls python_compile
57 + _python-distutils-ng_run_for_each_impl python_compile
58 else
59 - _python-distutils-ng_run_for_all_impls \
60 + _python-distutils-ng_run_for_each_impl \
61 _python-distutils-ng_default_distutils_compile
62 fi
63 }
64 @@ -319,7 +319,7 @@ python-distutils-ng_src_test() {
65 [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
66
67 if type python_test &> /dev/null; then
68 - _python-distutils-ng_run_for_all_impls python_test
69 + _python-distutils-ng_run_for_each_impl python_test
70 fi
71 }
72
73 @@ -328,9 +328,9 @@ python-distutils-ng_src_install() {
74 [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
75
76 if type python_install &> /dev/null; then
77 - _python-distutils-ng_run_for_all_impls python_install
78 + _python-distutils-ng_run_for_each_impl python_install
79 else
80 - _python-distutils-ng_run_for_all_impls \
81 + _python-distutils-ng_run_for_each_impl \
82 _python-distutils-ng_default_distutils_install
83 fi