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 16/30] python-utils-r1.eclass: Remove python_wrapper_setup
Date: Sun, 06 Feb 2022 12:54:03
Message-Id: 20220206124841.1299133-17-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 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-utils-r1.eclass | 16 ----------------
4 1 file changed, 16 deletions(-)
5
6 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
7 index 99662c0a2e16..a2de1c2b506e 100644
8 --- a/eclass/python-utils-r1.eclass
9 +++ b/eclass/python-utils-r1.eclass
10 @@ -838,22 +838,6 @@ python_doheader() {
11 )
12 }
13
14 -# @FUNCTION: python_wrapper_setup
15 -# @USAGE: [<path> [<impl>]]
16 -# @DESCRIPTION:
17 -# Backwards compatibility function. The relevant API is now considered
18 -# private, please use python_setup instead.
19 -python_wrapper_setup() {
20 - debug-print-function ${FUNCNAME} "${@}"
21 -
22 - eqawarn "python_wrapper_setup() is part of private eclass API."
23 - eqawarn "Please call python_setup() instead."
24 -
25 - [[ ${EAPI} == [67] ]] || die "${FUNCNAME} banned in EAPI ${EAPI}"
26 -
27 - _python_wrapper_setup "${@}"
28 -}
29 -
30 # @FUNCTION: _python_wrapper_setup
31 # @USAGE: [<path> [<impl>]]
32 # @INTERNAL
33 --
34 2.35.1