1 |
jlec 10/06/26 11:02:00 |
2 |
|
3 |
Modified: shunit2-2.1.5.ebuild ChangeLog shunit2-2.1.4.ebuild |
4 |
Log: |
5 |
Fixed src_test, #277097 |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 dev-util/shunit2/shunit2-2.1.5.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: shunit2-2.1.5.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- shunit2-2.1.5.ebuild 26 Jun 2010 07:40:10 -0000 1.1 |
22 |
+++ shunit2-2.1.5.ebuild 26 Jun 2010 11:02:00 -0000 1.2 |
23 |
@@ -1,9 +1,11 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild,v 1.1 2010/06/26 07:40:10 jlec Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.5.ebuild,v 1.2 2010/06/26 11:02:00 jlec Exp $ |
28 |
|
29 |
EAPI="3" |
30 |
|
31 |
+inherit eutils |
32 |
+ |
33 |
DESCRIPTION="Unit-test framework for Bourne-based shell scripts." |
34 |
HOMEPAGE="http://code.google.com/p/shunit2/wiki/ProjectInfo" |
35 |
SRC_URI="http://shunit2.googlecode.com/files/${P}.tgz" |
36 |
@@ -19,13 +21,13 @@ |
37 |
net-misc/curl" |
38 |
|
39 |
src_prepare() { |
40 |
+ epatch "${FILESDIR}"/test.patch |
41 |
sed -i -e '/^__SHUNIT_SHELL_FLAGS/s:u::' src/shell/shunit2 || die |
42 |
} |
43 |
|
44 |
src_compile() { |
45 |
local myconf="build" |
46 |
use doc && myconf="${myconf} docs" |
47 |
- use test && myconf="${myconf} test" |
48 |
|
49 |
emake ${myconf} || die |
50 |
} |
51 |
|
52 |
|
53 |
|
54 |
1.4 dev-util/shunit2/ChangeLog |
55 |
|
56 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/ChangeLog?rev=1.4&view=markup |
57 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/ChangeLog?rev=1.4&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/ChangeLog?r1=1.3&r2=1.4 |
59 |
|
60 |
Index: ChangeLog |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v |
63 |
retrieving revision 1.3 |
64 |
retrieving revision 1.4 |
65 |
diff -u -r1.3 -r1.4 |
66 |
--- ChangeLog 26 Jun 2010 07:40:10 -0000 1.3 |
67 |
+++ ChangeLog 26 Jun 2010 11:02:00 -0000 1.4 |
68 |
@@ -1,6 +1,10 @@ |
69 |
# ChangeLog for dev-util/shunit2 |
70 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
71 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v 1.3 2010/06/26 07:40:10 jlec Exp $ |
72 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/ChangeLog,v 1.4 2010/06/26 11:02:00 jlec Exp $ |
73 |
+ |
74 |
+ 26 Jun 2010; Justin Lecher <jlec@g.o> shunit2-2.1.4.ebuild, |
75 |
+ shunit2-2.1.5.ebuild, +files/test.patch: |
76 |
+ Fixed src_test, #277097 |
77 |
|
78 |
*shunit2-2.1.5 (26 Jun 2010) |
79 |
|
80 |
|
81 |
|
82 |
|
83 |
1.3 dev-util/shunit2/shunit2-2.1.4.ebuild |
84 |
|
85 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild?rev=1.3&view=markup |
86 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild?rev=1.3&content-type=text/plain |
87 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild?r1=1.2&r2=1.3 |
88 |
|
89 |
Index: shunit2-2.1.4.ebuild |
90 |
=================================================================== |
91 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild,v |
92 |
retrieving revision 1.2 |
93 |
retrieving revision 1.3 |
94 |
diff -u -r1.2 -r1.3 |
95 |
--- shunit2-2.1.4.ebuild 25 Oct 2008 13:15:40 -0000 1.2 |
96 |
+++ shunit2-2.1.4.ebuild 26 Jun 2010 11:02:00 -0000 1.3 |
97 |
@@ -1,8 +1,12 @@ |
98 |
-# Copyright 1999-2008 Gentoo Foundation |
99 |
+# Copyright 1999-2010 Gentoo Foundation |
100 |
# Distributed under the terms of the GNU General Public License v2 |
101 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild,v 1.2 2008/10/25 13:15:40 pvdabeel Exp $ |
102 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/shunit2/shunit2-2.1.4.ebuild,v 1.3 2010/06/26 11:02:00 jlec Exp $ |
103 |
|
104 |
-DESCRIPTION="shUnit2 is a unit-test framework for Bourne-based shell scripts." |
105 |
+EAPI="3" |
106 |
+ |
107 |
+inherit eutils |
108 |
+ |
109 |
+DESCRIPTION="Unit-test framework for Bourne-based shell scripts." |
110 |
HOMEPAGE="http://code.google.com/p/shunit2/wiki/ProjectInfo" |
111 |
SRC_URI="http://shunit2.googlecode.com/files/${P}.tgz" |
112 |
|
113 |
@@ -16,16 +20,14 @@ |
114 |
dev-lang/perl |
115 |
net-misc/curl" |
116 |
|
117 |
-src_unpack() { |
118 |
- unpack ${A} |
119 |
- cd "${S}" |
120 |
- sed -i -e '/^__SHUNIT_SHELL_FLAGS/s:u::' src/shell/shunit2 |
121 |
+src_prepare() { |
122 |
+ epatch "${FILESDIR}"/test.patch |
123 |
+ sed -i -e '/^__SHUNIT_SHELL_FLAGS/s:u::' src/shell/shunit2 || die |
124 |
} |
125 |
|
126 |
src_compile() { |
127 |
local myconf="build" |
128 |
use doc && myconf="${myconf} docs" |
129 |
- use test && myconf="${myconf} test" |
130 |
|
131 |
emake ${myconf} || die |
132 |
} |
133 |
@@ -39,6 +41,7 @@ |
134 |
fi |
135 |
|
136 |
dodoc doc/*.txt || die |
137 |
+ dohtml doc/*.html || die |
138 |
|
139 |
insinto /usr/share/${PN} |
140 |
doins build/* || die |