Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 03/25] distutils-r2.eclass: Remove no-op subphase defaults
Date: Sat, 29 Feb 2020 20:43:39
Message-Id: 20200229204201.99290-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/25] python-r2 eclass suite by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/distutils-r2.eclass | 18 ------------------
4 1 file changed, 18 deletions(-)
5
6 diff --git a/eclass/distutils-r2.eclass b/eclass/distutils-r2.eclass
7 index ec1eda6682ae..cc555771a46c 100644
8 --- a/eclass/distutils-r2.eclass
9 +++ b/eclass/distutils-r2.eclass
10 @@ -623,24 +623,6 @@ distutils-r2_python_prepare_all() {
11 _DISTUTILS_DEFAULT_CALLED=1
12 }
13
14 -# @FUNCTION: distutils-r2_python_prepare
15 -# @DESCRIPTION:
16 -# The default python_prepare(). A no-op.
17 -distutils-r2_python_prepare() {
18 - debug-print-function ${FUNCNAME} "${@}"
19 -
20 - [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
21 -}
22 -
23 -# @FUNCTION: distutils-r2_python_configure
24 -# @DESCRIPTION:
25 -# The default python_configure(). A no-op.
26 -distutils-r2_python_configure() {
27 - debug-print-function ${FUNCNAME} "${@}"
28 -
29 - [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
30 -}
31 -
32 # @FUNCTION: _distutils-r2_create_setup_cfg
33 # @INTERNAL
34 # @DESCRIPTION:
35 --
36 2.25.1