summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-17 19:42:06 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-17 21:24:34 +0100
commitb6dc9bcbdf6070b1539d6695dbe75cb132196599 (patch)
tree50f3cadb133696ec3a0e9cbcf702b583348f96da /eclass
parentwww-apps/trac-mercurial: distutils-r1, EAPI=6 (diff)
downloadgentoo-b6dc9bcbdf6070b1539d6695dbe75cb132196599.tar.gz
gentoo-b6dc9bcbdf6070b1539d6695dbe75cb132196599.tar.bz2
gentoo-b6dc9bcbdf6070b1539d6695dbe75cb132196599.zip
distutils-r1.eclass: Reject EAPI=4 explicitly
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 68151afae52..202b47757a6 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -44,10 +44,10 @@
# https://wiki.gentoo.org/wiki/Project:Python/distutils-r1
case "${EAPI:-0}" in
- 0|1|2|3)
+ 0|1|2|3|4)
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
- 4|5|6)
+ 5|6)
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"