Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass
Date: Sun, 21 Jun 2009 10:34:46
Message-Id: E1MIKNo-0006p0-Nf@stork.gentoo.org
1 aballier 09/06/21 10:34:44
2
3 Modified: texlive-module.eclass
4 Log:
5 drop tl 2007 install support as all ebuilds are gone now
6
7 Revision Changes Path
8 1.22 eclass/texlive-module.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.22&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.22&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?r1=1.21&r2=1.22
13
14 Index: texlive-module.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v
17 retrieving revision 1.21
18 retrieving revision 1.22
19 diff -u -r1.21 -r1.22
20 --- texlive-module.eclass 8 Jun 2009 10:05:04 -0000 1.21
21 +++ texlive-module.eclass 21 Jun 2009 10:34:44 -0000 1.22
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.21 2009/06/08 10:05:04 aballier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.22 2009/06/21 10:34:44 aballier Exp $
27
28 # @ECLASS: texlive-module.eclass
29 # @MAINTAINER:
30 @@ -55,15 +55,6 @@
31
32 # TeX Live 2007 was providing .zip files of CTAN packages. For 2008 they are now
33 # .tar.lzma
34 -if [ -z "${PV##2007*}" ] ; then
35 -for i in ${TEXLIVE_MODULE_CONTENTS}; do
36 - SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.zip"
37 -done
38 -COMMON_DEPEND="${COMMON_DEPEND}
39 - ${TEXLIVE_MODULES_DEPS}"
40 -DEPEND="${COMMON_DEPEND}
41 - app-arch/unzip"
42 -else
43 for i in ${TEXLIVE_MODULE_CONTENTS}; do
44 SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma"
45 done
46 @@ -86,7 +77,6 @@
47 done
48 SRC_URI="${SRC_URI} )"
49 fi
50 -fi
51
52 RDEPEND="${COMMON_DEPEND}"
53
54 @@ -159,17 +149,10 @@
55
56 # Generate config files
57 # TeX Live 2007 was providing lists. For 2008 they are now tlpobj.
58 - if [ -z "${PV##2007*}" ] ; then
59 - for i in "${S}"/texmf/lists/*;
60 - do
61 - grep '^!' "${i}" | sed -e 's/^!//' | tr ' ' '@' |sort|uniq >> "${T}/jobs"
62 - done
63 - else
64 for i in "${S}"/tlpkg/tlpobj/*;
65 do
66 grep '^execute ' "${i}" | sed -e 's/^execute //' | tr ' ' '@' |sort|uniq >> "${T}/jobs"
67 done
68 - fi
69
70 for i in $(<"${T}/jobs");
71 do
72 @@ -218,7 +201,7 @@
73
74 [ -d texmf ] && cp -pR texmf "${D}/usr/share/"
75 [ -d texmf-dist ] && cp -pR texmf-dist "${D}/usr/share/"
76 - [ -n "${PV##2007*}" ] && [ -d tlpkg ] && use source && cp -pR tlpkg "${D}/usr/share/"
77 + [ -d tlpkg ] && use source && cp -pR tlpkg "${D}/usr/share/"
78
79 insinto /var/lib/texmf
80 [ -d texmf-var ] && doins -r texmf-var/*