Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/g-brief/
Date: Sat, 30 Jan 2016 12:49:01
Message-Id: 1454158128.0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5.aballier@gentoo
1 commit: 0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 12:48:04 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 12:48:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2e7ed6
7
8 dev-tex/g-brief: Fix build. Bug #573374.
9
10 Remove files that are going to be re-generated. Remove .dtx files after generating output so that it is not re-processing at src_install which would fail.
11 Add missing dep. Remove outdated tetex blocker.
12
13 Package-Manager: portage-2.2.27
14 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
15
16 dev-tex/g-brief/g-brief-4.0.2.ebuild | 11 ++++++++++-
17 1 file changed, 10 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-tex/g-brief/g-brief-4.0.2.ebuild b/dev-tex/g-brief/g-brief-4.0.2.ebuild
20 index 29c11ce..971d239 100644
21 --- a/dev-tex/g-brief/g-brief-4.0.2.ebuild
22 +++ b/dev-tex/g-brief/g-brief-4.0.2.ebuild
23 @@ -16,8 +16,17 @@ IUSE=""
24 SLOT="0"
25 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
26
27 -RDEPEND="!>=app-text/tetex-2.96"
28 +RDEPEND="dev-texlive/texlive-langgerman"
29 DEPEND="${RDEPEND}
30 app-arch/unzip"
31
32 TEXMF="/usr/share/texmf-site"
33 +
34 +src_compile() {
35 + # latex chokes if these file exist, bug #573374
36 + rm -f g-brief.drv g-brief.cls g-brief.sty g-brief2.cls g-brief2.sty beispiel.tex beispiel2.tex
37 + latex-package_src_compile
38 + # Now that the source is processed, remove it so that it is not (wrongly)
39 + # reprocessed at src_install.
40 + rm -f g-brief.dtx
41 +}