summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-09-20 18:37:33 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-09-20 18:43:22 +0200
commitfc351c8366eb82fbc55d068d4296a9723c844ca6 (patch)
tree3a8b85aab4e3af89ecac453b8edd7e5f4c7dd4b1 /eclass
parentmedia-fonts/x11fonts-jmk: Downgrade EAPI 7 to 6 (diff)
downloadgentoo-fc351c8366eb82fbc55d068d4296a9723c844ca6.tar.gz
gentoo-fc351c8366eb82fbc55d068d4296a9723c844ca6.tar.bz2
gentoo-fc351c8366eb82fbc55d068d4296a9723c844ca6.zip
font.eclass: Add EAPI guardian block, bug 666635
Bug: https://bugs.gentoo.org/666635
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass5
1 files changed, 5 insertions, 0 deletions
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