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