projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778a215
)
git-r3.eclass: Ban EAPIs 0 through 3
author
Michał Górny
<mgorny@gentoo.org>
Sat, 17 Mar 2018 23:20:37 +0000
(
00:20
+0100)
committer
Michał 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
patch
|
blob
|
history
diff --git
a/eclass/git-r3.eclass
b/eclass/git-r3.eclass
index 279f032693149a4bb465be5626cd658e99df4867..c5c76232eb41129dc0c7e0e4415b7a6a988d52b3 100644
(file)
--- 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}"