commit:     843db58490920df6ff8daaec42d934bf2a4f8a6f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 18:45:42 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 23:52:53 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=843db584

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.

 eclass/base.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/base.eclass b/eclass/base.eclass
index f5eb97c..5ddbb39 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

Reply via email to