summaryrefslogtreecommitdiff
path: root/eclass/latex-package.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/latex-package.eclass')
-rw-r--r--eclass/latex-package.eclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index f42b6fdd25d8..3402c94cc081 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: latex-package.eclass
@@ -54,13 +54,16 @@
case ${EAPI:-0} in
0|1|2|3|4|5) inherit base eutils ;;
- 6) ;;
- *) die "Unknown EAPI ${EAPI} for ${ECLASS}" ;;
esac
RDEPEND="virtual/latex-base"
DEPEND="${RDEPEND}
>=sys-apps/texinfo-4.2-r5"
+case ${EAPI:-0} in
+ 0|1|2|3|4|5|6) ;;
+ 7) BDEPEND="${DEPEND}"; DEPEND="" ;;
+ *) die "${ECLASS}: Unknown EAPI ${EAPI}" ;;
+esac
HOMEPAGE="http://www.tug.org/"
TEXMF="/usr/share/texmf-site"