summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/distutils.eclass')
-rw-r--r--eclass/distutils.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass
index 5f5a06950d84..d24ae551f7c2 100644
--- a/eclass/distutils.eclass
+++ b/eclass/distutils.eclass
@@ -18,6 +18,9 @@ fi
inherit multilib
case "${EAPI:-0}" in
+ 6)
+ die "${ECLASS}.eclass is banned in EAPI ${EAPI}"
+ ;;
0|1)
EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst pkg_postrm
;;