distutils-r1.eclass: Reject EAPI=4 explicitly
authorMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 18:42:06 +0000 (19:42 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 20:24:34 +0000 (21:24 +0100)
eclass/distutils-r1.eclass

index 68151afae52ddb5fd128c9fce383b30a256ef255..202b47757a6475bb2489e6b1f59ea9c571d07128 100644 (file)
 # 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}"