public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] latex-package.eclass: Support EAPI 7.
@ 2018-06-14 17:08 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2018-06-14 17:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

---
 eclass/latex-package.eclass | 9 ++++++---
 1 file 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"
 
-- 
2.17.1

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-14 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 17:08 [gentoo-dev] [PATCH] latex-package.eclass: Support EAPI 7 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox