From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/rdoc: rdoc-3.5.1.ebuild ChangeLog |
Date: | Mon, 31 Jan 2011 07:16:58 |
Message-Id: | 20110131071647.2912420054@flycatcher.gentoo.org |
1 | graaff 11/01/31 07:16:47 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rdoc-3.5.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.49 dev-ruby/rdoc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.49&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.49&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?r1=1.48&r2=1.49 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v |
20 | retrieving revision 1.48 |
21 | retrieving revision 1.49 |
22 | diff -u -r1.48 -r1.49 |
23 | --- ChangeLog 30 Jan 2011 09:30:53 -0000 1.48 |
24 | +++ ChangeLog 31 Jan 2011 07:16:47 -0000 1.49 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ruby/rdoc |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.48 2011/01/30 09:30:53 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.49 2011/01/31 07:16:47 graaff Exp $ |
30 | + |
31 | +*rdoc-3.5.1 (31 Jan 2011) |
32 | + |
33 | + 31 Jan 2011; Hans de Graaff <graaff@g.o> +rdoc-3.5.1.ebuild: |
34 | + Version bump. |
35 | |
36 | *rdoc-3.5 (30 Jan 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/rdoc/rdoc-3.5.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-3.5.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-3.5.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rdoc-3.5.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-3.5.1.ebuild,v 1.1 2011/01/31 07:16:47 graaff Exp $ |
51 | |
52 | EAPI=3 |
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 | |
67 | LICENSE="Ruby" |
68 | SLOT="0" |
69 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
70 | IUSE="" |
71 | |
72 | ruby_add_bdepend " |
73 | doc? ( >=dev-ruby/hoe-2.7.0 ) |
74 | test? ( |
75 | >=dev-ruby/hoe-2.7.0 |
76 | dev-ruby/minitest |
77 | )" |
78 | |
79 | # This ebuild replaces rdoc in ruby-1.9.2 and later. |
80 | # ruby 1.8.6 is no longer supported. |
81 | RDEPEND="${RDEPEND} |
82 | ruby_targets_ruby19? ( |
83 | >=dev-lang/ruby-1.9.2:1.9 |
84 | ) |
85 | ruby_targets_ruby18? ( |
86 | >=dev-lang/ruby-1.8.7:1.8 |
87 | )" |
88 | |
89 | all_ruby_prepare() { |
90 | # Other packages also have use for a nonexistent directory, bug 321059 |
91 | sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die |
92 | |
93 | # Remove unavailable and unneeded isolate plugin for Hoe |
94 | sed -i -e '/isolate/d' Rakefile || die |
95 | |
96 | epatch "${FILESDIR}/${PN}-3.0.1-bin-require.patch" |
97 | } |
98 | |
99 | each_ruby_prepare() { |
100 | case ${RUBY} in |
101 | *jruby) |
102 | # Remove tests that will fail due to a bug in JRuby affecting |
103 | # Dir.mktmpdir: http://jira.codehaus.org/browse/JRUBY-4082 |
104 | rm test/test_rdoc_options.rb || die |
105 | ;; |
106 | *) |
107 | ;; |
108 | esac |
109 | } |
110 | |
111 | all_ruby_install() { |
112 | all_fakegem_install |
113 | |
114 | for bin in rdoc ri; do |
115 | ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 |
116 | |
117 | if use ruby_targets_ruby19; then |
118 | ruby_fakegem_binwrapper $bin /usr/bin/${bin}19 |
119 | sed -i -e "1s/env ruby/ruby19/" \ |
120 | "${ED}/usr/bin/${bin}19" || die |
121 | fi |
122 | done |
123 | } |