1 |
commit: 761a377c7649d609f10d04a1851cc8d6162c2dbc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 18 22:02:39 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=761a377c |
7 |
|
8 |
distutils-r1.eclass: Remove unnecessary eutils inherit in EAPI 6 |
9 |
|
10 |
eclass/distutils-r1.eclass | 3 ++- |
11 |
1 file changed, 2 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
14 |
index b249985..7ebcaa5 100644 |
15 |
--- a/eclass/distutils-r1.eclass |
16 |
+++ b/eclass/distutils-r1.eclass |
17 |
@@ -79,7 +79,8 @@ esac |
18 |
|
19 |
if [[ ! ${_DISTUTILS_R1} ]]; then |
20 |
|
21 |
-inherit eutils toolchain-funcs |
22 |
+[[ ${EAPI} == [45] ]] && inherit eutils |
23 |
+inherit toolchain-funcs |
24 |
|
25 |
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then |
26 |
inherit multiprocessing python-r1 |