From: Andreas K. Hüttel Date: Thu, 20 Sep 2018 16:37:33 +0000 (+0200) Subject: font.eclass: Add EAPI guardian block, bug 666635 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fc351c8366eb82fbc55d068d4296a9723c844ca6;p=gentoo.git font.eclass: Add EAPI guardian block, bug 666635 Bug: https://bugs.gentoo.org/666635 --- diff --git a/eclass/font.eclass b/eclass/font.eclass index 7214c99854a7..513be3981c3c 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -6,6 +6,11 @@ # fonts@gentoo.org # @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