git-r3.eclass: Ban EAPIs 0 through 3
authorMichał Górny <mgorny@gentoo.org>
Sat, 17 Mar 2018 23:20:37 +0000 (00:20 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 13 Jun 2018 08:05:27 +0000 (10:05 +0200)
The code already uses USE dependencies which are not valid for EAPIs
0 and 1. Furthermore, according to qa-reports the eclass is not used
in any EAPI older than 4.

eclass/git-r3.eclass

index 279f032693149a4bb465be5626cd658e99df4867..c5c76232eb41129dc0c7e0e4415b7a6a988d52b3 100644 (file)
 # git as remote repository.
 
 case "${EAPI:-0}" in
-       0|1|2|3|4|5|6|7)
+       0|1|2|3)
+               die "Unsupported EAPI=${EAPI} (obsolete) for ${ECLASS}"
+               ;;
+       4|5|6|7)
                ;;
        *)
                die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"