1 |
commit: fc351c8366eb82fbc55d068d4296a9723c844ca6 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 20 16:37:33 2018 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 20 16:43:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc351c83 |
7 |
|
8 |
font.eclass: Add EAPI guardian block, bug 666635 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/666635 |
11 |
|
12 |
eclass/font.eclass | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/eclass/font.eclass b/eclass/font.eclass |
16 |
index 7214c99854a..513be3981c3 100644 |
17 |
--- a/eclass/font.eclass |
18 |
+++ b/eclass/font.eclass |
19 |
@@ -6,6 +6,11 @@ |
20 |
# fonts@g.o |
21 |
# @BLURB: Eclass to make font installation uniform |
22 |
|
23 |
+case ${EAPI:-0} in |
24 |
+ 0|1|2|3|4|5|6) ;; |
25 |
+ *) die "EAPI ${EAPI} is not supported by font.eclass." ;; |
26 |
+esac |
27 |
+ |
28 |
inherit eutils |
29 |
|
30 |
EXPORT_FUNCTIONS pkg_setup src_install pkg_postinst pkg_postrm |