diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-13 19:44:21 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-14 00:52:53 +0100 |
commit | 7ebd9fec81aac3ea0814c9c45e1cfc806ba00a30 (patch) | |
tree | 693f0cd91155b22bed22d305aec840c80df01f13 /eclass/distutils.eclass | |
parent | Version bump (diff) | |
download | gentoo-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.eclass | 3 |
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 ;; |