Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 28 Nov 2015 19:10:14
Message-Id: 1448737746.d9cf3242c00219b20eea18297b76e18334b5d9de.mgorny@gentoo
1 commit: d9cf3242c00219b20eea18297b76e18334b5d9de
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 18 21:50:57 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 19:09:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9cf3242
7
8 distutils-r1.eclass: Ban no-op default phase implementations in EAPI 6
9
10 eclass/distutils-r1.eclass | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
14 index f9cff5c..47b09b0 100644
15 --- a/eclass/distutils-r1.eclass
16 +++ b/eclass/distutils-r1.eclass
17 @@ -343,7 +343,7 @@ distutils-r1_python_prepare_all() {
18 distutils-r1_python_prepare() {
19 debug-print-function ${FUNCNAME} "${@}"
20
21 - :
22 + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
23 }
24
25 # @FUNCTION: distutils-r1_python_configure
26 @@ -352,7 +352,7 @@ distutils-r1_python_prepare() {
27 distutils-r1_python_configure() {
28 debug-print-function ${FUNCNAME} "${@}"
29
30 - :
31 + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI 6 (it was a no-op)"
32 }
33
34 # @FUNCTION: _distutils-r1_create_setup_cfg