summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-13 19:44:21 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-14 00:52:53 +0100
commit7ebd9fec81aac3ea0814c9c45e1cfc806ba00a30 (patch)
tree693f0cd91155b22bed22d305aec840c80df01f13 /eclass/distutils.eclass
parentVersion bump (diff)
downloadgentoo-7ebd9fec81aac3ea0814c9c45e1cfc806ba00a30.tar.gz
gentoo-7ebd9fec81aac3ea0814c9c45e1cfc806ba00a30.tar.bz2
gentoo-7ebd9fec81aac3ea0814c9c45e1cfc806ba00a30.zip
python.eclass, distutils.eclass: Ban for EAPI=6
Ban deprecated python and distutils eclasses to avoid being accidentally enabled in EAPI 6.
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
;;