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/rdoc: ChangeLog rdoc-2.5.6.ebuild rdoc-2.5.5.ebuild
Date: Mon, 26 Apr 2010 14:25:57
Message-Id: 20100426142552.DB2C62C043@corvid.gentoo.org
1 flameeyes 10/04/26 14:25:52
2
3 Modified: ChangeLog
4 Added: rdoc-2.5.6.ebuild
5 Removed: rdoc-2.5.5.ebuild
6 Log:
7 Version bump, add a patch so that tests pass on Ruby 1.9.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 dev-ruby/rdoc/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 22 Apr 2010 06:07:40 -0000 1.27
24 +++ ChangeLog 26 Apr 2010 14:25:52 -0000 1.28
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/rdoc
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.27 2010/04/22 06:07:40 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.28 2010/04/26 14:25:52 flameeyes Exp $
30 +
31 +*rdoc-2.5.6 (26 Apr 2010)
32 +
33 + 26 Apr 2010; Diego E. Pettenò <flameeyes@g.o> -rdoc-2.5.5.ebuild,
34 + +rdoc-2.5.6.ebuild, +files/rdoc-2.5.6-ruby19.patch:
35 + Version bump, add a patch so that tests pass on Ruby 1.9.
36
37 *rdoc-2.5.5 (22 Apr 2010)
38
39
40
41
42 1.1 dev-ruby/rdoc/rdoc-2.5.6.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/rdoc-2.5.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rdoc/rdoc-2.5.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rdoc-2.5.6.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-2.5.6.ebuild,v 1.1 2010/04/26 14:25:52 flameeyes Exp $
52
53 EAPI=2
54 USE_RUBY="ruby18 ruby19 jruby"
55
56 RUBY_FAKEGEM_TASK_DOC="docs"
57
58 RUBY_FAKEGEM_DOCDIR="doc"
59 RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt RI.txt"
60
61 RUBY_FAKEGEM_BINWRAP=""
62
63 inherit ruby-fakegem eutils
64
65 DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
66 HOMEPAGE="http://rubyforge.org/projects/rdoc/"
67 SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
68
69 LICENSE="Ruby"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-solaris"
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_prepare() {
79 epatch "${FILESDIR}/${P}-ruby19.patch"
80 }
81
82 all_ruby_install() {
83 all_fakegem_install
84
85 for bin in rdoc ri; do
86 ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
87 done
88 }
89
90 each_ruby_test() {
91 # `rake test' would fail when rdoc is not yet installed.
92 # Setting $rdoc_rakefile fixes this.
93 ${RUBY} -w -Ilib:ext:bin:test \
94 -e 'require "rubygems"; require "minitest/autorun"; \
95 $rdoc_rakefile = true; Dir.glob("test/test*.rb").each \
96 {|t| require t }' || die "Tests failed for ${RUBY}"
97 }