Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 15/30] python-utils-r1.eclass: Remove deprecated python_export
Date: Sun, 06 Feb 2022 12:53:46
Message-Id: 20220206124841.1299133-16-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/30] One batch of Python eclass updates to rule them all by "Michał Górny"
1 Remove python_export, as it is no longer used by any ebuilds
2 in ::gentoo.
3
4 Signed-off-by: Michał Górny <mgorny@g.o>
5 ---
6 eclass/python-utils-r1.eclass | 17 -----------------
7 1 file changed, 17 deletions(-)
8
9 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
10 index 362e55aed06f..99662c0a2e16 100644
11 --- a/eclass/python-utils-r1.eclass
12 +++ b/eclass/python-utils-r1.eclass
13 @@ -266,23 +266,6 @@ _python_impl_matches() {
14 # python2.7
15 # @CODE
16
17 -# @FUNCTION: python_export
18 -# @USAGE: [<impl>] <variables>...
19 -# @INTERNAL
20 -# @DESCRIPTION:
21 -# Backwards compatibility function. The relevant API is now considered
22 -# private, please use python_get* instead.
23 -python_export() {
24 - debug-print-function ${FUNCNAME} "${@}"
25 -
26 - eqawarn "python_export() is part of private eclass API."
27 - eqawarn "Please call python_get*() instead."
28 -
29 - [[ ${EAPI} == [67] ]] || die "${FUNCNAME} banned in EAPI ${EAPI}"
30 -
31 - _python_export "${@}"
32 -}
33 -
34 # @FUNCTION: _python_export
35 # @USAGE: [<impl>] <variables>...
36 # @INTERNAL
37 --
38 2.35.1