1 |
flameeyes 10/07/30 17:32:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: test-unit-2.1.0-r1.ebuild |
5 |
Removed: test-unit-2.0.7.ebuild test-unit-2.1.0.ebuild |
6 |
test-unit-2.0.9.ebuild |
7 |
Log: |
8 |
Fix install of testrb-2 wrapper, remove old versions. |
9 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.23 dev-ruby/test-unit/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.23&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.23&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?r1=1.22&r2=1.23 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v |
21 |
retrieving revision 1.22 |
22 |
retrieving revision 1.23 |
23 |
diff -u -r1.22 -r1.23 |
24 |
--- ChangeLog 19 Jul 2010 10:16:13 -0000 1.22 |
25 |
+++ ChangeLog 30 Jul 2010 17:32:33 -0000 1.23 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for dev-ruby/test-unit |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.22 2010/07/19 10:16:13 graaff Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.23 2010/07/30 17:32:33 flameeyes Exp $ |
31 |
+ |
32 |
+*test-unit-2.1.0-r1 (30 Jul 2010) |
33 |
+ |
34 |
+ 30 Jul 2010; Diego E. Pettenò <flameeyes@g.o> |
35 |
+ -test-unit-2.0.7.ebuild, -test-unit-2.0.9.ebuild, |
36 |
+ -files/test-unit-2.0.9-disable-tests.patch, -test-unit-2.1.0.ebuild, |
37 |
+ +test-unit-2.1.0-r1.ebuild: |
38 |
+ Fix install of testrb-2 wrapper, remove old versions. |
39 |
|
40 |
*test-unit-2.1.0 (19 Jul 2010) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-ruby/test-unit/test-unit-2.1.0-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.0-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.0-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: test-unit-2.1.0-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.0-r1.ebuild,v 1.1 2010/07/30 17:32:33 flameeyes Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
# One test fails on jruby, might be a jruby bug |
58 |
USE_RUBY="ruby18 ruby19 ree18 jruby" |
59 |
|
60 |
RUBY_FAKEGEM_TASK_DOC="docs" |
61 |
RUBY_FAKEGEM_DOCDIR="doc" |
62 |
RUBY_FAKEGEM_EXTRADOC="TODO README.txt History.txt" |
63 |
|
64 |
# Disable default binwraps |
65 |
RUBY_FAKEGEM_BINWRAP="" |
66 |
|
67 |
inherit ruby-fakegem |
68 |
|
69 |
ruby_add_bdepend "doc? ( dev-ruby/hoe )" |
70 |
|
71 |
DESCRIPTION="An improved version of the Test::Unit framework from Ruby 1.8" |
72 |
HOMEPAGE="http://test-unit.rubyforge.org/" |
73 |
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" |
74 |
|
75 |
LICENSE="MIT" |
76 |
SLOT="2" |
77 |
KEYWORDS="~amd64 ~ia64 ~sparc ~x86" |
78 |
IUSE="" |
79 |
|
80 |
each_ruby_test() { |
81 |
# the rake audit using dev-ruby/zentest currently fails, and we |
82 |
# just need to call the testsuite directly. |
83 |
# rake audit || die "rake audit failed" |
84 |
local rubyflags |
85 |
|
86 |
[[ $(basename ${RUBY}) == jruby ]] && rubyflags="-X+O" |
87 |
|
88 |
${RUBY} ${rubyflags} test/run-test.rb || die "testsuite failed" |
89 |
} |
90 |
|
91 |
all_ruby_install() { |
92 |
all_fakegem_install |
93 |
|
94 |
# Create a testrb2 wrapper similarly to the rdoc2 wrapper for |
95 |
# rdoc-2* series. |
96 |
ruby_fakegem_binwrapper testrb /usr/bin/testrb-2 |
97 |
} |