base.eclass: Ban for EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Nov 2015 18:45:42 +0000 (19:45 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Nov 2015 23:52:53 +0000 (00:52 +0100)
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

index f5eb97c350a8e58be13be1c59c071c03ccf64e98..5ddbb3927777fca84f148bd8d63284420d3a5201 100644 (file)
@@ -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