summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-18 23:02:39 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-28 20:09:06 +0100
commit761a377c7649d609f10d04a1851cc8d6162c2dbc (patch)
tree5e8b8c94e48633cdcb5863cae06b44527a522fe3 /eclass/distutils-r1.eclass
parentdistutils-r1.eclass: Make default _all impl call warning fatal in EAPI 6 (diff)
downloadgentoo-761a377c7649d609f10d04a1851cc8d6162c2dbc.tar.gz
gentoo-761a377c7649d609f10d04a1851cc8d6162c2dbc.tar.bz2
gentoo-761a377c7649d609f10d04a1851cc8d6162c2dbc.zip
distutils-r1.eclass: Remove unnecessary eutils inherit in EAPI 6
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index b249985a2a1c..7ebcaa549169 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -79,7 +79,8 @@ esac
if [[ ! ${_DISTUTILS_R1} ]]; then
-inherit eutils toolchain-funcs
+[[ ${EAPI} == [45] ]] && inherit eutils
+inherit toolchain-funcs
if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
inherit multiprocessing python-r1