Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog tla.eclass
Date: Sun, 26 Feb 2012 16:13:47
Message-Id: 20120226161338.3B4272004B@flycatcher.gentoo.org
1 pacho 12/02/26 16:13:38
2
3 Modified: ChangeLog tla.eclass
4 Log:
5 Convert to eshopts_{push,pop}, bug 328871 by Spanky.
6
7 Revision Changes Path
8 1.145 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.145&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.145&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.144&r2=1.145
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.144
18 retrieving revision 1.145
19 diff -u -r1.144 -r1.145
20 --- ChangeLog 26 Feb 2012 13:20:59 -0000 1.144
21 +++ ChangeLog 26 Feb 2012 16:13:38 -0000 1.145
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.144 2012/02/26 13:20:59 pacho Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.145 2012/02/26 16:13:38 pacho Exp $
27 +
28 + 26 Feb 2012; Pacho Ramos <pacho@g.o> tla.eclass:
29 + Convert to eshopts_{push,pop}, bug 328871 by Spanky.
30
31 26 Feb 2012; Pacho Ramos <pacho@g.o> eutils.eclass:
32 Use correct menu categories for app-* as discussed in gentoo-dev.
33
34
35
36 1.12 eclass/tla.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tla.eclass?rev=1.12&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tla.eclass?rev=1.12&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tla.eclass?r1=1.11&r2=1.12
41
42 Index: tla.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v
45 retrieving revision 1.11
46 retrieving revision 1.12
47 diff -u -r1.11 -r1.12
48 --- tla.eclass 27 Dec 2011 17:55:12 -0000 1.11
49 +++ tla.eclass 26 Feb 2012 16:13:38 -0000 1.12
50 @@ -1,6 +1,6 @@
51 -# Copyright 1999-2011 Gentoo Foundation
52 +# Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v 1.11 2011/12/27 17:55:12 fauli Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v 1.12 2012/02/26 16:13:38 pacho Exp $
56 #
57 # Original Author: Jeffrey Yasskin <jyasskin@×××××××××××.edu>
58 #
59 @@ -17,6 +17,7 @@
60 # TODO:
61 # Make it support particular revisions.
62
63 +inherit eutils
64
65 # Don't download anything other than the tla archive
66 SRC_URI=""
67 @@ -179,10 +180,9 @@
68 # Use ${WORKDIR}/${P} rather than ${S} so user can point ${S} to something inside.
69 mkdir -p "${WORKDIR}/${P}"
70
71 - local OLD_SHOPTS=$(shopt -p)
72 - shopt -s dotglob # get any dotfiles too.
73 + eshopts_push -s dotglob # get any dotfiles too.
74 cp -Rf "$ETLA_TOP_DIR/$ETLA_CACHE_DIR"/* "${WORKDIR}/${P}"
75 - eval "$OLD_SHOPTS"
76 + eshopts_pop
77
78 # implement some of base_src_unpack's functionality;
79 # note however that base.eclass may not have been inherited!