python-utils-r1.eclass: Remove deprecated python_export

Remove python_export, as it is no longer used by any ebuilds
in ::gentoo.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-02-09 09:43:48 +01:00
parent c14accfbbd
commit 2e00253a6a
-17
View File
@@ -266,23 +266,6 @@ _python_impl_matches() {
# python2.7
# @CODE
# @FUNCTION: python_export
# @USAGE: [<impl>] <variables>...
# @INTERNAL
# @DESCRIPTION:
# Backwards compatibility function. The relevant API is now considered
# private, please use python_get* instead.
python_export() {
debug-print-function ${FUNCNAME} "${@}"
eqawarn "python_export() is part of private eclass API."
eqawarn "Please call python_get*() instead."
[[ ${EAPI} == [67] ]] || die "${FUNCNAME} banned in EAPI ${EAPI}"
_python_export "${@}"
}
# @FUNCTION: _python_export
# @USAGE: [<impl>] <variables>...
# @INTERNAL