1 |
flameeyes 12/07/08 12:37:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: test-unit-2.5.1-r1.ebuild |
5 |
Removed: test-unit-2.5.1.ebuild |
6 |
Log: |
7 |
Install a testrb-2 script for us alone, since it's no longer provided by upstream. |
8 |
|
9 |
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.59 dev-ruby/test-unit/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.59&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.59&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?r1=1.58&r2=1.59 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v |
21 |
retrieving revision 1.58 |
22 |
retrieving revision 1.59 |
23 |
diff -u -r1.58 -r1.59 |
24 |
--- ChangeLog 8 Jul 2012 11:15:16 -0000 1.58 |
25 |
+++ ChangeLog 8 Jul 2012 12:37:11 -0000 1.59 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-ruby/test-unit |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.58 2012/07/08 11:15:16 flameeyes Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.59 2012/07/08 12:37:11 flameeyes Exp $ |
31 |
+ |
32 |
+*test-unit-2.5.1-r1 (08 Jul 2012) |
33 |
+ |
34 |
+ 08 Jul 2012; Diego E. Pettenò <flameeyes@g.o> +files/testrb, |
35 |
+ +test-unit-2.5.1-r1.ebuild, -test-unit-2.5.1.ebuild: |
36 |
+ Install a testrb-2 script for us alone, since it's no longer provided by |
37 |
+ upstream. |
38 |
|
39 |
*test-unit-2.5.1 (08 Jul 2012) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-ruby/test-unit/test-unit-2.5.1-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.5.1-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.5.1-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: test-unit-2.5.1-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-2.5.1-r1.ebuild,v 1.1 2012/07/08 12:37:11 flameeyes Exp $ |
54 |
|
55 |
EAPI=4 |
56 |
USE_RUBY="ruby18 ruby19 ree18 jruby" |
57 |
|
58 |
RUBY_FAKEGEM_TASK_DOC="" |
59 |
RUBY_FAKEGEM_DOCDIR="doc" |
60 |
RUBY_FAKEGEM_EXTRADOC="TODO README.textile" |
61 |
|
62 |
inherit ruby-fakegem |
63 |
|
64 |
ruby_add_bdepend "doc? ( dev-ruby/yard )" |
65 |
# redcloth is also needed to build documentation, but not available for |
66 |
# jruby. Since we build documentation with the main ruby implementation |
67 |
# only we skip the dependency for jruby in this roundabout way, assuming |
68 |
# that jruby won't be the main ruby. |
69 |
USE_RUBY="${USE_RUBY/jruby/}" ruby_add_bdepend "doc? ( dev-ruby/redcloth )" |
70 |
|
71 |
DESCRIPTION="An improved version of the Test::Unit framework from Ruby 1.8" |
72 |
HOMEPAGE="http://test-unit.rubyforge.org/" |
73 |
|
74 |
LICENSE="Ruby" |
75 |
SLOT="2" |
76 |
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
77 |
IUSE="doc test" |
78 |
|
79 |
all_ruby_compile() { |
80 |
all_fakegem_compile |
81 |
|
82 |
if use doc; then |
83 |
yard doc --title ${PN} || die |
84 |
fi |
85 |
} |
86 |
|
87 |
each_ruby_test() { |
88 |
# the rake audit using dev-ruby/zentest currently fails, and we |
89 |
# just need to call the testsuite directly. |
90 |
# rake audit || die "rake audit failed" |
91 |
local rubyflags |
92 |
|
93 |
[[ ${RUBY} == */jruby ]] && rubyflags="-X+O" |
94 |
|
95 |
${RUBY} ${rubyflags} test/run-test.rb || die "testsuite failed" |
96 |
} |
97 |
|
98 |
all_ruby_install() { |
99 |
all_fakegem_install |
100 |
|
101 |
newbin "${FILESDIR}"/testrb testrb-2 |
102 |
} |