diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-05-20 13:39:11 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-29 23:53:31 +0200 |
commit | 2facff13c3396bde7e5e59c77575083d74ea17dc (patch) | |
tree | 60609fc87a1ebb2606aba7b6f133830c0f1501d5 /eclass | |
parent | python-utils-r1.eclass: _python_impl_matches, handle both forms of impl (diff) | |
download | gentoo-2facff13c3396bde7e5e59c77575083d74ea17dc.tar.gz gentoo-2facff13c3396bde7e5e59c77575083d74ea17dc.tar.bz2 gentoo-2facff13c3396bde7e5e59c77575083d74ea17dc.zip |
python-r1.eclass: Remove deprecated python_parallel_foreach_impl
The function was (verbosely) deprecated in Dec 2014, and banned since
EAPI 6. It is no longer used by any ebuild in ::gentoo.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/python-r1.eclass | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 809dc5f2b8e5..5eaa802e06b9 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -555,41 +555,6 @@ python_foreach_impl() { multibuild_foreach_variant _python_multibuild_wrapper "${@}" } -# @FUNCTION: python_parallel_foreach_impl -# @USAGE: <command> [<args>...] -# @DESCRIPTION: -# Run the given command for each of the enabled Python implementations. -# If additional parameters are passed, they will be passed through -# to the command. -# -# The function will return 0 status if all invocations succeed. -# Otherwise, the return code from first failing invocation will -# be returned. -# -# For each command being run, EPYTHON, PYTHON and BUILD_DIR are set -# locally, and the former two are exported to the command environment. -# -# This command used to be the parallel variant of python_foreach_impl. -# However, the parallel run support has been removed to simplify -# the eclasses and make them more predictable and therefore it is now -# only a deprecated alias to python_foreach_impl. -python_parallel_foreach_impl() { - debug-print-function ${FUNCNAME} "${@}" - - [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}" - - 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 "${@}" -} - # @FUNCTION: python_setup # @USAGE: [<impl-pattern>...] # @DESCRIPTION: |