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: Thu, 26 Nov 2015 22:35:51
Message-Id: 1448577215.877f653f87560d319329b84faceceb8c1782a485.mgorny@gentoo
1 commit: 877f653f87560d319329b84faceceb8c1782a485
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: Thu Nov 26 22:33:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=877f653f
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