1 |
commit: a857e7da09d1f63c3aabdcb7b41983e3ea0f400a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 11 06:08:36 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 11 06:08:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a857e7da |
7 |
|
8 |
dev-ruby/rdoc: cleanup |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/rdoc/Manifest | 2 - |
14 |
dev-ruby/rdoc/rdoc-6.0.4.ebuild | 91 ---------------------------------------- |
15 |
dev-ruby/rdoc/rdoc-6.1.0.ebuild | 93 ----------------------------------------- |
16 |
3 files changed, 186 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest |
19 |
index 922715cd2bf..6814d79343f 100644 |
20 |
--- a/dev-ruby/rdoc/Manifest |
21 |
+++ b/dev-ruby/rdoc/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
DIST rdoc-5.1.0.tar.gz 702376 BLAKE2B 733d77a341ddad10f5b648b6bb492e0f79daa392e2ca371d38236e4c85a1c409699e35dd3f5bc8bc48551b399603bb0a747cb3c5f7f1fbf4765aabffaad575aa SHA512 cd2ed37e8502a3e9093c88c258ac5e39542a23c3dcaedb9b5eb48ce391a694e5b35fbcfd62f01ec6353ac9c40a4b7043b2ff11bbc403d2e03de9a84c52bcefe7 |
24 |
-DIST rdoc-6.0.4.tar.gz 699314 BLAKE2B 37b9c65a55357b9edbf85889c086948a6e80094846434d46e6ffbf17e16eba9e964dc09721f921d5042d6e0c72619fc59d87c8d969490e6af50fddaf49d36556 SHA512 8bf61bda88ea1a85178f5fdd62e87c79c5efd6d6f64d9d8651bbbc37e02da02b7189c7e60e4853a962507cc2ee4c703b6532f28db763202fa24c4b364cee8e28 |
25 |
-DIST rdoc-6.1.0.tar.gz 701204 BLAKE2B 5228f7af6b890aa09ddeee899955dada94768a4a4fe6c30ccfabb810dc90420f5a83e1a485b80ddfa81c6eeca9440109a82a3287eb445c28e1c4f30b3cea76bf SHA512 084c6bf8819664ab5f80d3678dbc8936da30f19f8603767d3678b7d504069395c8e074d09b4a188231784fb99213ee0cb2e289632de4126276ddb0233fbcd600 |
26 |
DIST rdoc-6.1.1.tar.gz 701297 BLAKE2B cd1494303d5bf4f81804e40a43252a589a6fa141316a573c1e321bf2dbd71330fabd547e09f5c84937cc45b3f79e2936d90813c29fc11b4a514a9cb498b9c98d SHA512 01e32d6e7ffcb5c0e138068867e6d995210d0123cb87c2754994be1a5e0aede0e05114746e6bd788fd0b4299e9a005dcfc863ef07000f1f9fcbf6ed11e44947b |
27 |
|
28 |
diff --git a/dev-ruby/rdoc/rdoc-6.0.4.ebuild b/dev-ruby/rdoc/rdoc-6.0.4.ebuild |
29 |
deleted file mode 100644 |
30 |
index 66756c013b5..00000000000 |
31 |
--- a/dev-ruby/rdoc/rdoc-6.0.4.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,91 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=5 |
38 |
-USE_RUBY="ruby23 ruby24 ruby25" |
39 |
- |
40 |
-RUBY_FAKEGEM_TASK_DOC="" |
41 |
-RUBY_FAKEGEM_DOCDIR="doc" |
42 |
-RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" |
43 |
- |
44 |
-RUBY_FAKEGEM_BINWRAP="" |
45 |
-RUBY_FAKEGEM_BINDIR="exe" |
46 |
- |
47 |
-inherit ruby-fakegem eutils |
48 |
- |
49 |
-DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" |
50 |
-HOMEPAGE="https://github.com/ruby/rdoc/" |
51 |
-SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
- |
53 |
-LICENSE="Ruby MIT" |
54 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
55 |
-SLOT="0" |
56 |
-IUSE="" |
57 |
- |
58 |
-RDEPEND+=">=app-eselect/eselect-ruby-20161226" |
59 |
- |
60 |
-ruby_add_bdepend " |
61 |
- >=dev-ruby/kpeg-1.1.0-r1 |
62 |
- >dev-ruby/racc-1.4.10 |
63 |
- test? ( |
64 |
- dev-ruby/bundler |
65 |
- >=dev-ruby/minitest-5.8:5 |
66 |
- )" |
67 |
- |
68 |
-all_ruby_prepare() { |
69 |
- # Other packages also have use for a nonexistent directory, bug 321059 |
70 |
- sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die |
71 |
- |
72 |
- # Avoid unneeded dependency on bundler, bug 603696 |
73 |
- sed -i -e '/bundler/ s:^:#:' \ |
74 |
- -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' Rakefile || die |
75 |
- |
76 |
- # Remove test that is depending on the locale, which we can't garantuee. |
77 |
- sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die |
78 |
- |
79 |
- # Remove test depending on FEATURES=userpriv, bug 361959 |
80 |
- sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die |
81 |
- |
82 |
- # Remove tests for code that is not included and not listed in Manifest.txt |
83 |
- rm -f test/test_rdoc_i18n_{locale,text}.rb \ |
84 |
- test/test_rdoc_generator_pot* || die |
85 |
-} |
86 |
- |
87 |
-all_ruby_compile() { |
88 |
- all_fakegem_compile |
89 |
- |
90 |
- if use doc ; then |
91 |
- ruby -Ilib -S exe/rdoc || die |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-each_ruby_compile() { |
96 |
- ${RUBY} -S rake generate || die |
97 |
-} |
98 |
- |
99 |
-each_ruby_test() { |
100 |
- ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die |
101 |
-} |
102 |
- |
103 |
-all_ruby_install() { |
104 |
- all_fakegem_install |
105 |
- |
106 |
- for bin in rdoc ri; do |
107 |
- ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 |
108 |
- |
109 |
- for version in ${USE_RUBY}; do |
110 |
- version=`echo ${version} | cut -c 5-` |
111 |
- if use ruby_targets_ruby${version}; then |
112 |
- ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} |
113 |
- sed -i -e "1s/env ruby/ruby${version}/" \ |
114 |
- "${ED}/usr/bin/${bin}${version}" || die |
115 |
- fi |
116 |
- done |
117 |
- done |
118 |
-} |
119 |
- |
120 |
-pkg_postinst() { |
121 |
- if [[ ! -n $(readlink "${ROOT}"usr/bin/rdoc) ]] ; then |
122 |
- eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) |
123 |
- fi |
124 |
-} |
125 |
|
126 |
diff --git a/dev-ruby/rdoc/rdoc-6.1.0.ebuild b/dev-ruby/rdoc/rdoc-6.1.0.ebuild |
127 |
deleted file mode 100644 |
128 |
index a97eae987c1..00000000000 |
129 |
--- a/dev-ruby/rdoc/rdoc-6.1.0.ebuild |
130 |
+++ /dev/null |
131 |
@@ -1,93 +0,0 @@ |
132 |
-# Copyright 1999-2018 Gentoo Authors |
133 |
-# Distributed under the terms of the GNU General Public License v2 |
134 |
- |
135 |
-EAPI=6 |
136 |
-USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
137 |
- |
138 |
-RUBY_FAKEGEM_TASK_DOC="" |
139 |
-RUBY_FAKEGEM_DOCDIR="doc" |
140 |
-RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" |
141 |
- |
142 |
-RUBY_FAKEGEM_BINWRAP="" |
143 |
-RUBY_FAKEGEM_BINDIR="exe" |
144 |
- |
145 |
-inherit ruby-fakegem eutils |
146 |
- |
147 |
-DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" |
148 |
-HOMEPAGE="https://github.com/ruby/rdoc/" |
149 |
-SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
150 |
- |
151 |
-LICENSE="Ruby MIT" |
152 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
153 |
-SLOT="0" |
154 |
-IUSE="" |
155 |
- |
156 |
-RDEPEND+=">=app-eselect/eselect-ruby-20161226" |
157 |
- |
158 |
-ruby_add_bdepend " |
159 |
- >=dev-ruby/kpeg-1.1.0-r1 |
160 |
- >dev-ruby/racc-1.4.10 |
161 |
- test? ( |
162 |
- dev-ruby/bundler |
163 |
- >=dev-ruby/minitest-5.8:5 |
164 |
- )" |
165 |
- |
166 |
-all_ruby_prepare() { |
167 |
- # Other packages also have use for a nonexistent directory, bug 321059 |
168 |
- sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die |
169 |
- |
170 |
- # Avoid unneeded dependency on bundler, bug 603696 |
171 |
- sed -i -e '/bundler/ s:^:#:' \ |
172 |
- -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \ |
173 |
- -e '/rubocop\/rake/ s:^:#:' \ |
174 |
- -e '/RuboCop/,/end/ s:^:#:' Rakefile || die |
175 |
- |
176 |
- # Remove test that is depending on the locale, which we can't garantuee. |
177 |
- sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die |
178 |
- |
179 |
- # Remove test depending on FEATURES=userpriv, bug 361959 |
180 |
- sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die |
181 |
- |
182 |
- # Remove tests for code that is not included and not listed in Manifest.txt |
183 |
- rm -f test/test_rdoc_i18n_{locale,text}.rb \ |
184 |
- test/test_rdoc_generator_pot* || die |
185 |
-} |
186 |
- |
187 |
-all_ruby_compile() { |
188 |
- all_fakegem_compile |
189 |
- |
190 |
- if use doc ; then |
191 |
- ruby -Ilib -S exe/rdoc || die |
192 |
- fi |
193 |
-} |
194 |
- |
195 |
-each_ruby_compile() { |
196 |
- ${RUBY} -S rake generate || die |
197 |
-} |
198 |
- |
199 |
-each_ruby_test() { |
200 |
- ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die |
201 |
-} |
202 |
- |
203 |
-all_ruby_install() { |
204 |
- all_fakegem_install |
205 |
- |
206 |
- for bin in rdoc ri; do |
207 |
- ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 |
208 |
- |
209 |
- for version in ${USE_RUBY}; do |
210 |
- version=`echo ${version} | cut -c 5-` |
211 |
- if use ruby_targets_ruby${version}; then |
212 |
- ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} |
213 |
- sed -i -e "1s/env ruby/ruby${version}/" \ |
214 |
- "${ED}/usr/bin/${bin}${version}" || die |
215 |
- fi |
216 |
- done |
217 |
- done |
218 |
-} |
219 |
- |
220 |
-pkg_postinst() { |
221 |
- if [[ ! -n $(readlink "${ROOT}"usr/bin/rdoc) ]] ; then |
222 |
- eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) |
223 |
- fi |
224 |
-} |