Gentoo Archives: gentoo-commits

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