Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/shunit2: shunit2-2.1.5.ebuild ChangeLog
Date: Sat, 26 Jun 2010 07:40:16
Message-Id: 20100626074010.D27B72CF73@corvid.gentoo.org
1 jlec 10/06/26 07:40:10
2
3 Modified: ChangeLog
4 Added: shunit2-2.1.5.ebuild
5 Log:
6 Version bump, #294036
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 dev-util/shunit2/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 25 Oct 2008 13:15:40 -0000 1.2
23 +++ ChangeLog 26 Jun 2010 07:40:10 -0000 1.3
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/shunit2
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v 1.2 2008/10/25 13:15:40 pvdabeel Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v 1.3 2010/06/26 07:40:10 jlec Exp $
30 +
31 +*shunit2-2.1.5 (26 Jun 2010)
32 +
33 + 26 Jun 2010; Justin Lecher <jlec@g.o> +shunit2-2.1.5.ebuild:
34 + Version bump, #294036
35
36 *shunit2-2.1.4 (15 Sep 2008)
37
38
39
40
41 1.1 dev-util/shunit2/shunit2-2.1.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: shunit2-2.1.5.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild,v 1.1 2010/06/26 07:40:10 jlec Exp $
51
52 EAPI="3"
53
54 DESCRIPTION="Unit-test framework for Bourne-based shell scripts."
55 HOMEPAGE="http://code.google.com/p/shunit2/wiki/ProjectInfo"
56 SRC_URI="http://shunit2.googlecode.com/files/${P}.tgz"
57
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~x86"
61 IUSE="doc test"
62
63 RDEPEND=""
64 DEPEND="${RDEPEND}
65 dev-lang/perl
66 net-misc/curl"
67
68 src_prepare() {
69 sed -i -e '/^__SHUNIT_SHELL_FLAGS/s:u::' src/shell/shunit2 || die
70 }
71
72 src_compile() {
73 local myconf="build"
74 use doc && myconf="${myconf} docs"
75 use test && myconf="${myconf} test"
76
77 emake ${myconf} || die
78 }
79
80 src_install() {
81 if use doc; then
82 for DOC in build/{docbook/*,shunit2.html,shunit2_shelldoc.xml}; do
83 dodoc ${DOC} || die
84 rm ${DOC}
85 done
86 fi
87
88 dodoc doc/*.txt || die
89 dohtml doc/*.html || die
90
91 insinto /usr/share/${PN}
92 doins build/* || die
93 }