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.5.11.ebuild
Date: Tue, 24 Aug 2010 18:12:13
Message-Id: 20100824181207.CD67E2004E@flycatcher.gentoo.org
1 a3li 10/08/24 18:12:07
2
3 Modified: ChangeLog
4 Added: rdoc-2.5.11.ebuild
5 Log:
6 Version bump. Fixes tests wrt bug 330279. ruby19 patch is no longer needed.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.34 dev-ruby/rdoc/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 18 Aug 2010 11:12:24 -0000 1.33
23 +++ ChangeLog 24 Aug 2010 18:12:07 -0000 1.34
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/rdoc
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.33 2010/08/18 11:12:24 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.34 2010/08/24 18:12:07 a3li Exp $
29 +
30 +*rdoc-2.5.11 (24 Aug 2010)
31 +
32 + 24 Aug 2010; Alex Legler <a3li@g.o> +rdoc-2.5.11.ebuild:
33 + Version bump. Fixes tests wrt bug 330279. ruby19 patch is no longer
34 + needed.
35
36 18 Aug 2010; Diego E. Pettenò <flameeyes@g.o> rdoc-2.5.6.ebuild,
37 rdoc-2.5.9.ebuild:
38
39
40
41 1.1 dev-ruby/rdoc/rdoc-2.5.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-2.5.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-2.5.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rdoc-2.5.11.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/rdoc/rdoc-2.5.11.ebuild,v 1.1 2010/08/24 18:12:07 a3li Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18 ree18 ruby19 jruby"
54
55 RUBY_FAKEGEM_TASK_DOC="docs"
56
57 RUBY_FAKEGEM_DOCDIR="doc"
58 RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt RI.txt"
59
60 RUBY_FAKEGEM_BINWRAP=""
61
62 inherit ruby-fakegem eutils
63
64 DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
65 HOMEPAGE="http://rubyforge.org/projects/rdoc/"
66 SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
67
68 LICENSE="Ruby"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-solaris"
71 IUSE=""
72
73 ruby_add_bdepend "
74 doc? ( >=dev-ruby/hoe-2.5.0 )
75 test? (
76 >=dev-ruby/hoe-2.5.0
77 dev-ruby/minitest
78 )"
79
80 # This ebuild replaces rdoc in ruby-1.9.2 and later
81 RDEPEND="${RDEPEND}
82 ruby_targets_ruby19? (
83 >=dev-lang/ruby-1.9.2
84 )"
85
86 all_ruby_prepare() {
87 # Other packages also have use for a nonexistent directory, bug 321059
88 sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb
89 }
90
91 all_ruby_install() {
92 all_fakegem_install
93
94 for bin in rdoc ri; do
95 ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
96
97 if use ruby_targets_ruby19; then
98 ruby_fakegem_binwrapper $bin /usr/bin/${bin}19
99 sed -i -e "1s/env ruby/ruby19/" \
100 "${D}/usr/bin/${bin}19" || die
101 fi
102 done
103 }