1 |
As a pretty simple eclass, which only inherited multilib in |
2 |
order to get $(get_libdir) and eutils for who knows why, and |
3 |
all its consumers bumped to EAPI=6, it makes sense to require |
4 |
EAPI 6 for this eclass |
5 |
|
6 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
7 |
--- |
8 |
eclass/freedict.eclass | 7 +++++-- |
9 |
1 file changed, 5 insertions(+), 2 deletions(-) |
10 |
|
11 |
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass |
12 |
index 06419626d34..f2518f3cdcd 100644 |
13 |
--- a/eclass/freedict.eclass |
14 |
+++ b/eclass/freedict.eclass |
15 |
@@ -1,4 +1,4 @@ |
16 |
-# Copyright 1999-2014 Gentoo Foundation |
17 |
+# Copyright 1999-2018 Gentoo Foundation |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
|
20 |
# @ECLASS: freedict.eclass |
21 |
@@ -21,7 +21,10 @@ |
22 |
# @DESCRIPTION: |
23 |
# Please see above for a description. |
24 |
|
25 |
-inherit eutils multilib |
26 |
+case ${EAPI:-0} in |
27 |
+ 6) ;; |
28 |
+ *) die "${ECLASS}.eclass is banned in EAPI=${EAPI}" ;; |
29 |
+esac |
30 |
|
31 |
IUSE="" |
32 |
|
33 |
-- |
34 |
2.16.2 |