summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-28 19:29:02 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-28 19:29:56 +0100
commit7e1e020f135c2cf75f4f4bccac151bbdfff429d6 (patch)
tree72ea385371c38cfeeeb1110b26ee7d22c29f4978 /eclass/waf-utils.eclass
parentwaf-utils.eclass: Remove stale Python dependencies (diff)
downloadgentoo-7e1e020f135c2cf75f4f4bccac151bbdfff429d6.tar.gz
gentoo-7e1e020f135c2cf75f4f4bccac151bbdfff429d6.tar.bz2
gentoo-7e1e020f135c2cf75f4f4bccac151bbdfff429d6.zip
waf-utils.eclass: Do not inherit eutils in EAPI 6+
Diffstat (limited to 'eclass/waf-utils.eclass')
-rw-r--r--eclass/waf-utils.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
index aebd327746d8..7372e8ded26c 100644
--- a/eclass/waf-utils.eclass
+++ b/eclass/waf-utils.eclass
@@ -15,7 +15,8 @@
# waf-based packages much easier.
# Its main features are support of common portage default settings.
-inherit eutils multilib toolchain-funcs multiprocessing
+[[ ${EAPI} == [45] ]] && inherit eutils
+inherit multilib toolchain-funcs multiprocessing
case ${EAPI:-0} in
4|5|6) EXPORT_FUNCTIONS src_configure src_compile src_install ;;