From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/rdoc: ChangeLog rdoc-3.12.ebuild |
Date: | Sat, 24 Dec 2011 13:43:54 |
Message-Id: | 20111224134344.EC5322004B@flycatcher.gentoo.org |
1 | graaff 11/12/24 13:43:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rdoc-3.12.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.1.10.41/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.70 dev-ruby/rdoc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.70&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.70&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?r1=1.69&r2=1.70 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v |
20 | retrieving revision 1.69 |
21 | retrieving revision 1.70 |
22 | diff -u -r1.69 -r1.70 |
23 | --- ChangeLog 21 Nov 2011 19:31:53 -0000 1.69 |
24 | +++ ChangeLog 24 Dec 2011 13:43:44 -0000 1.70 |
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.69 2011/11/21 19:31:53 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.70 2011/12/24 13:43:44 graaff Exp $ |
30 | + |
31 | +*rdoc-3.12 (24 Dec 2011) |
32 | + |
33 | + 24 Dec 2011; Hans de Graaff <graaff@g.o> +rdoc-3.12.ebuild: |
34 | + Version bump. |
35 | |
36 | *rdoc-3.11 (21 Nov 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/rdoc/rdoc-3.12.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-3.12.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-3.12.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rdoc-3.12.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.12.ebuild,v 1.1 2011/12/24 13:43:44 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.rdoc README.rdoc RI.rdoc TODO.rdoc" |
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="https://github.com/rdoc/rdoc/" |
66 | |
67 | LICENSE="Ruby MIT" |
68 | SLOT="0" |
69 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
70 | IUSE="" |
71 | |
72 | ruby_add_bdepend " |
73 | dev-ruby/racc |
74 | doc? ( >=dev-ruby/hoe-2.7.0 ) |
75 | test? ( |
76 | >=dev-ruby/hoe-2.7.0 |
77 | dev-ruby/minitest |
78 | )" |
79 | |
80 | ruby_add_rdepend "=dev-ruby/json-1* >=dev-ruby/json-1.4" |
81 | |
82 | # This ebuild replaces rdoc in ruby-1.9.2 and later. |
83 | # ruby 1.8.6 is no longer supported. |
84 | RDEPEND="${RDEPEND} |
85 | ruby_targets_ruby19? ( |
86 | >=dev-lang/ruby-1.9.2:1.9 |
87 | ) |
88 | ruby_targets_ruby18? ( |
89 | >=dev-lang/ruby-1.8.7:1.8 |
90 | )" |
91 | |
92 | all_ruby_prepare() { |
93 | # Other packages also have use for a nonexistent directory, bug 321059 |
94 | sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die |
95 | |
96 | # Remove unavailable and unneeded isolate plugin for Hoe |
97 | sed -i -e '/isolate/d' Rakefile || die |
98 | |
99 | epatch "${FILESDIR}/${PN}-3.0.1-bin-require.patch" |
100 | |
101 | # Remove test that is depending on the locale, which we can't garantuee. |
102 | sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die |
103 | } |
104 | |
105 | each_ruby_prepare() { |
106 | case ${RUBY} in |
107 | *jruby) |
108 | # Remove tests that will fail due to a bug in JRuby affecting |
109 | # Dir.mktmpdir: http://jira.codehaus.org/browse/JRUBY-4082 |
110 | rm test/test_rdoc_options.rb || die |
111 | ;; |
112 | *) |
113 | ;; |
114 | esac |
115 | } |
116 | |
117 | all_ruby_install() { |
118 | all_fakegem_install |
119 | |
120 | for bin in rdoc ri; do |
121 | ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 |
122 | |
123 | if use ruby_targets_ruby19; then |
124 | ruby_fakegem_binwrapper $bin /usr/bin/${bin}19 |
125 | sed -i -e "1s/env ruby/ruby19/" \ |
126 | "${ED}/usr/bin/${bin}19" || die |
127 | fi |
128 | done |
129 | } |