Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/test-unit: ChangeLog test-unit-2.1.2.ebuild
Date: Sun, 28 Nov 2010 09:22:23
Message-Id: 20101128092218.499A320051@flycatcher.gentoo.org
1 graaff 10/11/28 09:22:18
2
3 Modified: ChangeLog
4 Added: test-unit-2.1.2.ebuild
5 Log:
6 Version bump: support auto runner prepare hook.
7
8 (Portage version: 2.1.9.24/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.26 dev-ruby/test-unit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 28 Sep 2010 23:40:09 -0000 1.25
24 +++ ChangeLog 28 Nov 2010 09:22:18 -0000 1.26
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/test-unit
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.25 2010/09/28 23:40:09 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.26 2010/11/28 09:22:18 graaff Exp $
30 +
31 +*test-unit-2.1.2 (28 Nov 2010)
32 +
33 + 28 Nov 2010; Hans de Graaff <graaff@g.o> +test-unit-2.1.2.ebuild:
34 + Version bump: support auto runner prepare hook.
35
36 28 Sep 2010; Brent Baude <ranger@g.o> test-unit-2.1.1.ebuild:
37 Marking test-unit-2.1.1 ~ppc for bug 324867
38
39
40
41 1.1 dev-ruby/test-unit/test-unit-2.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: test-unit-2.1.2.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-ruby/test-unit/test-unit-2.1.2.ebuild,v 1.1 2010/11/28 09:22:18 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18 ruby19 ree18 jruby"
54
55 RUBY_FAKEGEM_TASK_DOC="docs"
56 RUBY_FAKEGEM_DOCDIR="doc"
57 RUBY_FAKEGEM_EXTRADOC="TODO README.txt History.txt"
58
59 # Disable default binwraps
60 RUBY_FAKEGEM_BINWRAP=""
61
62 inherit ruby-fakegem
63
64 ruby_add_bdepend "doc? ( dev-ruby/hoe )"
65
66 DESCRIPTION="An improved version of the Test::Unit framework from Ruby 1.8"
67 HOMEPAGE="http://test-unit.rubyforge.org/"
68
69 LICENSE="MIT"
70 SLOT="2"
71 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
72 IUSE=""
73
74 each_ruby_test() {
75 # the rake audit using dev-ruby/zentest currently fails, and we
76 # just need to call the testsuite directly.
77 # rake audit || die "rake audit failed"
78 local rubyflags
79
80 [[ $(basename ${RUBY}) == jruby ]] && rubyflags="-X+O"
81
82 ${RUBY} ${rubyflags} test/run-test.rb || die "testsuite failed"
83 }
84
85 all_ruby_install() {
86 all_fakegem_install
87
88 # Create a testrb2 wrapper similarly to the rdoc2 wrapper for
89 # rdoc-2* series.
90 ruby_fakegem_binwrapper testrb /usr/bin/testrb-2
91 }