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-r1.ebuild
Date: Mon, 04 Apr 2011 19:32:33
Message-Id: 20110404193203.6A92E20054@flycatcher.gentoo.org
1 graaff 11/04/04 19:32:03
2
3 Modified: ChangeLog
4 Added: test-unit-2.1.2-r1.ebuild
5 Log:
6 Add new stable candidate revision with proper dependency on dev-ruby/rdoc, as reported in bug 357939.
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 dev-ruby/test-unit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 9 Mar 2011 10:37:31 -0000 1.35
24 +++ ChangeLog 4 Apr 2011 19:32:03 -0000 1.36
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-ruby/test-unit
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.35 2011/03/09 10:37:31 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.36 2011/04/04 19:32:03 graaff Exp $
30 +
31 +*test-unit-2.1.2-r1 (04 Apr 2011)
32 +
33 + 04 Apr 2011; Hans de Graaff <graaff@g.o>
34 + +test-unit-2.1.2-r1.ebuild:
35 + Add new stable candidate revision with proper dependency on dev-ruby/rdoc,
36 + as reported in bug 357939.
37
38 09 Mar 2011; Markos Chandras <hwoarang@g.o> test-unit-2.1.2.ebuild:
39 Stable on amd64 wrt bug #357939
40
41
42
43 1.1 dev-ruby/test-unit/test-unit-2.1.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: test-unit-2.1.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-2.1.2-r1.ebuild,v 1.1 2011/04/04 19:32:03 graaff Exp $
53
54 EAPI=2
55 USE_RUBY="ruby18 ree18 jruby"
56
57 RUBY_FAKEGEM_TASK_DOC="docs"
58 RUBY_FAKEGEM_DOCDIR="doc"
59 RUBY_FAKEGEM_EXTRADOC="TODO README.txt History.txt"
60
61 # Disable default binwraps
62 RUBY_FAKEGEM_BINWRAP=""
63
64 inherit ruby-fakegem
65
66 ruby_add_bdepend "doc? ( dev-ruby/hoe dev-ruby/rdoc )"
67
68 DESCRIPTION="An improved version of the Test::Unit framework from Ruby 1.8"
69 HOMEPAGE="http://test-unit.rubyforge.org/"
70
71 LICENSE="MIT"
72 SLOT="2"
73 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
74 IUSE=""
75
76 each_ruby_test() {
77 # the rake audit using dev-ruby/zentest currently fails, and we
78 # just need to call the testsuite directly.
79 # rake audit || die "rake audit failed"
80 local rubyflags
81
82 [[ $(basename ${RUBY}) == jruby ]] && rubyflags="-X+O"
83
84 ${RUBY} ${rubyflags} test/run-test.rb || die "testsuite failed"
85 }
86
87 all_ruby_install() {
88 all_fakegem_install
89
90 # Create a testrb2 wrapper similarly to the rdoc2 wrapper for
91 # rdoc-2* series.
92 ruby_fakegem_binwrapper testrb /usr/bin/testrb-2
93 }