autotools-{utils,multilib}.eclass: Ban for EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Nov 2015 18:46:33 +0000 (19:46 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Nov 2015 23:52:53 +0000 (00:52 +0100)
Ban autotools-utils.eclass and dependant autotools-multilib.eclass for
EAPI=6 to avoid them being accidentally enabled. The former eclass
should be replaced with inline code, the latter with
multilib-minimal.eclass.

eclass/autotools-multilib.eclass
eclass/autotools-utils.eclass

index 758a6191cedb3d187a75303c2afcc36c19d1b693..0141bc6a86bd84f4a6ba1d164cb78514701a3d73 100644 (file)
@@ -21,6 +21,7 @@
 
 # EAPI=4 is required for meaningful MULTILIB_USEDEP.
 case ${EAPI:-0} in
+       6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
        4|5) ;;
        *) die "EAPI=${EAPI} is not supported" ;;
 esac
index de3c65a78303eaad7139e66238f6fe9c6fd0cd08..b850cf7af1a610814ab5b23c6eec595b43c90215 100644 (file)
@@ -89,6 +89,7 @@
 # Keep variable names synced with cmake-utils and the other way around!
 
 case ${EAPI:-0} in
+       6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
        2|3|4|5) ;;
        *) die "EAPI=${EAPI} is not supported" ;;
 esac