Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rdoc: ChangeLog rdoc-2.4.3.ebuild
Date: Fri, 01 Jan 2010 13:56:08
Message-Id: E1NQhz3-0007Rt-G5@stork.gentoo.org
1 a3li 10/01/01 13:56:05
2
3 Modified: ChangeLog rdoc-2.4.3.ebuild
4 Log:
5 Fix tests when rdoc is not yet installed (bug 298910), add test dependency on minitest, s/$PN/rdoc/ in HOMEPAGE
6 (Portage version: 2.2_rc59/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.18 dev-ruby/rdoc/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.18&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.18&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/ChangeLog?r1=1.17&r2=1.18
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v
18 retrieving revision 1.17
19 retrieving revision 1.18
20 diff -u -r1.17 -r1.18
21 --- ChangeLog 30 Dec 2009 18:43:09 -0000 1.17
22 +++ ChangeLog 1 Jan 2010 13:56:05 -0000 1.18
23 @@ -1,6 +1,10 @@
24 # ChangeLog for dev-ruby/rdoc
25 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.17 2009/12/30 18:43:09 graaff Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.18 2010/01/01 13:56:05 a3li Exp $
29 +
30 + 01 Jan 2010; Alex Legler <a3li@g.o> rdoc-2.4.3.ebuild:
31 + Fix tests when rdoc is not yet installed (bug 298910), add test dependency
32 + on minitest, s/$PN/rdoc/ in HOMEPAGE
33
34 30 Dec 2009; Hans de Graaff <graaff@g.o> rdoc-2.4.3.ebuild:
35 Use proper task name for USE=doc, partially fixing #298910.
36
37
38
39 1.5 dev-ruby/rdoc/rdoc-2.4.3.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/rdoc-2.4.3.ebuild?rev=1.5&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/rdoc-2.4.3.ebuild?rev=1.5&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/rdoc-2.4.3.ebuild?r1=1.4&r2=1.5
44
45 Index: rdoc-2.4.3.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-2.4.3.ebuild,v
48 retrieving revision 1.4
49 retrieving revision 1.5
50 diff -u -r1.4 -r1.5
51 --- rdoc-2.4.3.ebuild 30 Dec 2009 18:43:09 -0000 1.4
52 +++ rdoc-2.4.3.ebuild 1 Jan 2010 13:56:05 -0000 1.5
53 @@ -1,6 +1,6 @@
54 -# Copyright 1999-2009 Gentoo Foundation
55 +# Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-2.4.3.ebuild,v 1.4 2009/12/30 18:43:09 graaff Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-2.4.3.ebuild,v 1.5 2010/01/01 13:56:05 a3li Exp $
59
60 EAPI=2
61 USE_RUBY="ruby18 ruby19"
62 @@ -15,7 +15,7 @@
63 inherit ruby-fakegem
64
65 DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
66 -HOMEPAGE="http://rubyforge.org/projects/${PN}/"
67 +HOMEPAGE="http://rubyforge.org/projects/rdoc/"
68 SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
69
70 LICENSE="Ruby"
71 @@ -24,6 +24,7 @@
72 IUSE=""
73
74 ruby_add_bdepend test dev-ruby/hoe
75 +ruby_add_bdepend test virtual/ruby-minitest
76 ruby_add_bdepend doc dev-ruby/hoe
77
78 all_ruby_install() {
79 @@ -33,3 +34,12 @@
80 ruby_fakegem_binwrapper $bin $bin-2
81 done
82 }
83 +
84 +each_ruby_test() {
85 + # `rake test' would fail when rdoc is not yet installed.
86 + # Setting $rdoc_rakefile fixes this.
87 + ${RUBY} -w -Ilib:ext:bin:test \
88 + -e 'require "rubygems"; require "minitest/autorun"; \
89 + $rdoc_rakefile = true; Dir.glob("test/test*.rb").each \
90 + {|t| require t }' || die "Tests failed for ${RUBY}"
91 +}