diff options
| author | Michał Górny <mgorny@gentoo.org> | 2020-03-19 22:24:38 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2020-03-22 06:36:55 +0100 |
| commit | 367ac8f6216257d935877028822b50e495759455 (patch) | |
| tree | 979911a293d822a2944c919b16b7ec61408bd1c3 /eclass/python-any-r1.eclass | |
| parent | aa96f4d046bbf24be852ed055a1aa684833fcb74 (diff) | |
| download | gentoo-367ac8f6216257d935877028822b50e495759455.tar.gz gentoo-367ac8f6216257d935877028822b50e495759455.tar.bz2 gentoo-367ac8f6216257d935877028822b50e495759455.zip | |
python-utils-r1.eclass: Make python_wrapper_setup private
This function was never meant to be a part of the public API. Correct
the mistake by renaming it to _python_wrapper_setup(), and adding a QA
warning under the old name.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-any-r1.eclass')
| -rw-r--r-- | eclass/python-any-r1.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 66c6965c04ea..d16677debd2a 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -300,7 +300,7 @@ python_setup() { ewarn "Dependencies won't be satisfied, and EPYTHON/eselect-python will be ignored." python_export "${impls[0]}" EPYTHON PYTHON - python_wrapper_setup + _python_wrapper_setup einfo "Using ${EPYTHON} to build" return fi @@ -309,7 +309,7 @@ python_setup() { if [[ ${EPYTHON} ]]; then if _python_EPYTHON_supported "${EPYTHON}"; then python_export EPYTHON PYTHON - python_wrapper_setup + _python_wrapper_setup einfo "Using ${EPYTHON} to build" return fi @@ -325,7 +325,7 @@ python_setup() { break elif _python_EPYTHON_supported "${i}"; then python_export "${i}" EPYTHON PYTHON - python_wrapper_setup + _python_wrapper_setup einfo "Using ${EPYTHON} to build" return fi @@ -336,7 +336,7 @@ python_setup() { for (( i = ${#_PYTHON_SUPPORTED_IMPLS[@]} - 1; i >= 0; i-- )); do python_export "${_PYTHON_SUPPORTED_IMPLS[i]}" EPYTHON PYTHON if _python_EPYTHON_supported "${EPYTHON}"; then - python_wrapper_setup + _python_wrapper_setup einfo "Using ${EPYTHON} to build" return fi |
