commit:     fc351c8366eb82fbc55d068d4296a9723c844ca6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 20 16:37:33 2018 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Sep 20 16:43:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc351c83

font.eclass: Add EAPI guardian block, bug 666635

Bug: https://bugs.gentoo.org/666635

 eclass/font.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/font.eclass b/eclass/font.eclass
index 7214c99854a..513be3981c3 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -6,6 +6,11 @@
 # [email protected]
 # @BLURB: Eclass to make font installation uniform
 
+case ${EAPI:-0} in
+       0|1|2|3|4|5|6) ;;
+       *)             die "EAPI ${EAPI} is not supported by font.eclass." ;;
+esac
+
 inherit eutils
 
 EXPORT_FUNCTIONS pkg_setup src_install pkg_postinst pkg_postrm

Reply via email to