summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-18 00:20:37 +0100
committerMichał Górny <mgorny@gentoo.org>2018-06-13 10:05:27 +0200
commit8542b84fd65843c3dc93769b5b95798ee2a2f818 (patch)
treecaea360917c50fd8477c72b81acc2eb16e3f9e42 /eclass
parentsys-libs/uclibc: Revert "git-2->git-r3, explicit EAPI=0" (diff)
downloadgentoo-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')
-rw-r--r--eclass/git-r3.eclass5
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}"