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 v2 03/20] distutils-r2.eclass: Remove no-op subphase defaults
Date: Thu, 05 Mar 2020 15:12:19
Message-Id: 20200305151024.125834-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 00/20] python-r2 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 4995c95ea604..fc241a73965a 100644
8 --- a/eclass/distutils-r2.eclass
9 +++ b/eclass/distutils-r2.eclass
10 @@ -626,24 +626,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