summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-13 19:45:42 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-14 00:52:53 +0100
commit843db58490920df6ff8daaec42d934bf2a4f8a6f (patch)
tree1d48359b0d22485c54a9868498318b03e463fe8a /eclass
parentgit-2.eclass: Ban for EAPI=6 (diff)
downloadgentoo-843db58490920df6ff8daaec42d934bf2a4f8a6f.tar.gz
gentoo-843db58490920df6ff8daaec42d934bf2a4f8a6f.tar.bz2
gentoo-843db58490920df6ff8daaec42d934bf2a4f8a6f.zip
base.eclass: Ban for EAPI=6
Ban the deprecated base.eclass for EAPI=6 to avoid it being accidentally enabled. This eclass no longer provides anything that EAPI=6 does not provide by default.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/base.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass
index f5eb97c350a8..5ddbb3927777 100644
--- a/eclass/base.eclass
+++ b/eclass/base.eclass
@@ -34,6 +34,7 @@ inherit eutils
BASE_EXPF="src_unpack src_compile src_install"
case "${EAPI:-0}" in
+ 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
2|3|4|5) BASE_EXPF+=" src_prepare src_configure" ;;
*) ;;
esac