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-single-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-single-r1.eclass')
-rw-r--r--eclass/python-single-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index f9e26e7c334f..888db3631d9c 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-r1.eclass
@@ -466,7 +466,7 @@ python_setup() {
ewarn "Dependencies won't be satisfied, and PYTHON_SINGLE_TARGET flags will be ignored."
python_export "${impls[0]}" EPYTHON PYTHON
- python_wrapper_setup
+ _python_wrapper_setup
einfo "Using ${EPYTHON} to build"
return
fi
@@ -484,7 +484,7 @@ python_setup() {
fi
python_export "${impl}" EPYTHON PYTHON
- python_wrapper_setup
+ _python_wrapper_setup
einfo "Using ${EPYTHON} to build"
fi
done