diff options
author | Krzysztof Pawlik <none@none> | 2012-02-29 18:32:23 +0100 |
---|---|---|
committer | Krzysztof Pawlik <none@none> | 2012-02-29 18:32:23 +0100 |
commit | a8e9c1353a96d317b1568da960148a62a589dc41 (patch) | |
tree | a9eb718cd4c5357443201785222bc5100aa6a82b /eclass | |
parent | Fix python3_1 (was 2_1). (diff) | |
download | nelchael-a8e9c1353a96d317b1568da960148a62a589dc41.tar.gz nelchael-a8e9c1353a96d317b1568da960148a62a589dc41.tar.bz2 nelchael-a8e9c1353a96d317b1568da960148a62a589dc41.zip |
Rename _python-distutils-ng_run_for_all_impls to _python-distutils-ng_run_for_each_impl.
Diffstat (limited to 'eclass')
-rw-r--r-- | 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 |