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 23/29] distutils-r1.eclass: Ban no-op default phase implementations in EAPI 6
Date: Sun, 22 Nov 2015 20:04:03
Message-Id: 1448221870-17269-24-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES] Clean-up & EAPI 6 support for python-r1 suite by "Michał Górny"
1 ---
2 eclass/distutils-r1.eclass | 4 ++--
3 1 file changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
6 index f9cff5c..47b09b0 100644
7 --- a/eclass/distutils-r1.eclass
8 +++ b/eclass/distutils-r1.eclass
9 @@ -343,7 +343,7 @@ distutils-r1_python_prepare_all() {
10 distutils-r1_python_prepare() {
11 debug-print-function ${FUNCNAME} "${@}"
12
13 - :
14 + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
15 }
16
17 # @FUNCTION: distutils-r1_python_configure
18 @@ -352,7 +352,7 @@ distutils-r1_python_prepare() {
19 distutils-r1_python_configure() {
20 debug-print-function ${FUNCNAME} "${@}"
21
22 - :
23 + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
24 }
25
26 # @FUNCTION: _distutils-r1_create_setup_cfg
27 --
28 2.6.3