mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user