diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-03-18 00:20:37 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-06-13 10:05:27 +0200 |
commit | 8542b84fd65843c3dc93769b5b95798ee2a2f818 (patch) | |
tree | caea360917c50fd8477c72b81acc2eb16e3f9e42 /eclass/git-r3.eclass | |
parent | sys-libs/uclibc: Revert "git-2->git-r3, explicit EAPI=0" (diff) | |
download | gentoo-8542b84fd65843c3dc93769b5b95798ee2a2f818.tar.gz gentoo-8542b84fd65843c3dc93769b5b95798ee2a2f818.tar.bz2 gentoo-8542b84fd65843c3dc93769b5b95798ee2a2f818.zip |
git-r3.eclass: Ban EAPIs 0 through 3
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.
Diffstat (limited to 'eclass/git-r3.eclass')
-rw-r--r-- | eclass/git-r3.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 279f03269314..c5c76232eb41 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -10,7 +10,10 @@ # 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}" |