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
commit:     a8e9c1353a96d317b1568da960148a62a589dc41
Author:     Krzysztof Pawlik <none <AT> none>
AuthorDate: Wed Feb 29 17:32:23 2012 +0000
Commit:     Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org>
CommitDate: Wed Feb 29 17:32:23 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=commit;h=a8e9c135

Rename _python-distutils-ng_run_for_all_impls to _python-distutils-ng_run_for_each_impl.

---
 eclass/python-distutils-ng.eclass |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
index 7be2653..b7d4219 100644
--- a/eclass/python-distutils-ng.eclass
+++ b/eclass/python-distutils-ng.eclass
@@ -140,13 +140,13 @@ _python-distutils-ng_run_for_impl() {
 	popd &> /dev/null
 }
 
-# @FUNCTION: _python-distutils-ng_run_for_all_impls
+# @FUNCTION: _python-distutils-ng_run_for_each_impl
 # @USAGE: command_to_run
 # @DESCRIPTION:
 # Run command_to_run for all enabled Python implementations.
 #
 # See also _python-distutils-ng_run_for_impl
-_python-distutils-ng_run_for_all_impls() {
+_python-distutils-ng_run_for_each_impl() {
 	local command="${1}"
 
 	for impl in ${PYTHON_COMPAT}; do
@@ -289,7 +289,7 @@ python-distutils-ng_src_prepare() {
 
 	# Run python_prepare for each implementation:
 	if type python_prepare &> /dev/null; then
-		_python-distutils-ng_run_for_all_impls python_prepare
+		_python-distutils-ng_run_for_each_impl python_prepare
 	fi
 }
 
@@ -298,7 +298,7 @@ python-distutils-ng_src_configure() {
 	[[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
 
 	if type python_configure &> /dev/null; then
-		_python-distutils-ng_run_for_all_impls python_configure
+		_python-distutils-ng_run_for_each_impl python_configure
 	fi
 }
 
@@ -307,9 +307,9 @@ python-distutils-ng_src_compile() {
 	[[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
 
 	if type python_compile &> /dev/null; then
-		_python-distutils-ng_run_for_all_impls python_compile
+		_python-distutils-ng_run_for_each_impl python_compile
 	else
-		_python-distutils-ng_run_for_all_impls \
+		_python-distutils-ng_run_for_each_impl \
 			_python-distutils-ng_default_distutils_compile
 	fi
 }
@@ -319,7 +319,7 @@ python-distutils-ng_src_test() {
 	[[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
 
 	if type python_test &> /dev/null; then
-		_python-distutils-ng_run_for_all_impls python_test
+		_python-distutils-ng_run_for_each_impl python_test
 	fi
 }
 
@@ -328,9 +328,9 @@ python-distutils-ng_src_install() {
 	[[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
 
 	if type python_install &> /dev/null; then
-		_python-distutils-ng_run_for_all_impls python_install
+		_python-distutils-ng_run_for_each_impl python_install
 	else
-		_python-distutils-ng_run_for_all_impls \
+		_python-distutils-ng_run_for_each_impl \
 			_python-distutils-ng_default_distutils_install
 	fi