1 |
The code already uses USE dependencies which are not valid for EAPIs |
2 |
0 and 1. Furthermore, according to qa-reports the eclass is not used |
3 |
in any EAPI older than 4. |
4 |
--- |
5 |
eclass/git-r3.eclass | 7 +++++-- |
6 |
1 file changed, 5 insertions(+), 2 deletions(-) |
7 |
|
8 |
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass |
9 |
index 55a987b79545..60c0e39bc823 100644 |
10 |
--- a/eclass/git-r3.eclass |
11 |
+++ b/eclass/git-r3.eclass |
12 |
@@ -1,4 +1,4 @@ |
13 |
-# Copyright 1999-2017 Gentoo Foundation |
14 |
+# Copyright 1999-2018 Gentoo Foundation |
15 |
# Distributed under the terms of the GNU General Public License v2 |
16 |
|
17 |
# @ECLASS: git-r3.eclass |
18 |
@@ -10,7 +10,10 @@ |
19 |
# git as remote repository. |
20 |
|
21 |
case "${EAPI:-0}" in |
22 |
- 0|1|2|3|4|5|6) |
23 |
+ 0|1|2|3) |
24 |
+ die "Unsupported EAPI=${EAPI} (obsolete) for ${ECLASS}" |
25 |
+ ;; |
26 |
+ 4|5|6) |
27 |
;; |
28 |
*) |
29 |
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
30 |
-- |
31 |
2.16.2 |