Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/
Date: Fri, 27 Nov 2015 13:17:18
Message-Id: 1448629558.3776886ad5abe3d023537b4fbcf733d9d4178f32.mgorny@gentoo
1 commit: 3776886ad5abe3d023537b4fbcf733d9d4178f32
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: Fri Nov 27 13:05:58 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3776886a
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