summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-19 22:24:38 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-22 06:36:55 +0100
commit367ac8f6216257d935877028822b50e495759455 (patch)
tree979911a293d822a2944c919b16b7ec61408bd1c3 /eclass/python-r1.eclass
parentdev-python/msgpack: Remove redundant versions (diff)
downloadgentoo-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-r1.eclass')
-rw-r--r--eclass/python-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 960fed8c451..3ac35e40121 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -638,7 +638,7 @@ _python_multibuild_wrapper() {
local -x EPYTHON PYTHON
local -x PATH=${PATH} PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
python_export "${MULTIBUILD_VARIANT}" EPYTHON PYTHON
- python_wrapper_setup
+ _python_wrapper_setup
"${@}"
}
@@ -784,7 +784,7 @@ python_setup() {
die "${FUNCNAME}: no enabled implementation satisfy requirements"
fi
- python_wrapper_setup
+ _python_wrapper_setup
einfo "Using ${EPYTHON} in global scope"
}