Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activesupport/
Date: Sun, 06 Jun 2021 07:45:16
Message-Id: 1622965466.8600cdef7db37148cc4d06a74e5f780dea07b8ca.graaff@gentoo
1 commit: 8600cdef7db37148cc4d06a74e5f780dea07b8ca
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 6 07:44:26 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 6 07:44:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8600cdef
7
8 dev-ruby/activesupport: cleanup
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/activesupport/Manifest | 5 --
14 .../activesupport/activesupport-5.2.4.5.ebuild | 72 ---------------------
15 .../activesupport/activesupport-6.0.3.5.ebuild | 73 ----------------------
16 .../activesupport/activesupport-6.1.2.1.ebuild | 72 ---------------------
17 .../activesupport/activesupport-6.1.3.1.ebuild | 72 ---------------------
18 dev-ruby/activesupport/activesupport-6.1.3.ebuild | 72 ---------------------
19 6 files changed, 366 deletions(-)
20
21 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
22 index 5a7d7a6d38e..b6a42c6bee9 100644
23 --- a/dev-ruby/activesupport/Manifest
24 +++ b/dev-ruby/activesupport/Manifest
25 @@ -1,8 +1,3 @@
26 -DIST rails-5.2.4.5.tgz 8826076 BLAKE2B 41a13708f72f0c281af7b6c97828d873b9431913315e155bec2f798b83a9fd214a0176a93ba74d96b48718dc900b6737a62f5d6593ef7f5bb0b8430c96e5e234 SHA512 452e0649638daf57e8f7c6131bb048c0d960e875fbc3596678404965fd1438a5151858b22c2441a927509337b6a256671b53c24ee35ff477e18153af358b08af
27 DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b SHA512 465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
28 -DIST rails-6.0.3.5.tgz 18566999 BLAKE2B b07d1d6c1e2ebaaf3c337350bb08fe339e324818543dcd7163fe3c7ff56f50c5556f369badeb4fd48afa6d95449e18e57fa1b05db6ce544d38ee2f58bd3aa513 SHA512 c9d6bf689aeb40fb728fb681b65c48ebd51de893060ddac37a1fdefbb0d420cee3a456f148d96d577c651c9d7b994efdb3319fa865cb012af8712052a20a0bf3
29 DIST rails-6.0.3.7.tgz 18570545 BLAKE2B 6433705f18075e286d14d25dd87def61a3ac9c7a8fc5160f37b9a6f6ab0d7f36a7235602713888df45e55cf4afb56f922c476989304397d422016dc34f147353 SHA512 91612223c9461731741c056a700879ce274a177737fd19ed6341ce07acfa4e4862728ef12bfa1a70cdb3e5c8492ad0da6aae2e7d0ed5ad32d680d8bd8c3ab102
30 -DIST rails-6.1.2.1.tgz 10990239 BLAKE2B ff1c9781eab32fda320cb2b9efc92e52ed155b659a43385781bfa422d03653879367bedc7ef4e3accb0a51b7962054eecd5202fd1e1a49ff7946c2f9388a69df SHA512 61e8bf0568c0b06a2c8f6c5e4ae6becc521646a5cdd3d6832c3b52998326a4bd437ad2bd284c010d445a3dc54bf519f7fbd2e9d4368c91b7d2a9abe46e3a276d
31 -DIST rails-6.1.3.1.tgz 10991507 BLAKE2B 6798364c4d8c6339269950b5b583cbaa4c6d86b7880e7fa181bb6e52bb0d18b051eec233b2819af1668dcee8c4f40765fa9c46c6bb36329d0eda19f559a7472b SHA512 8c40d739b8300eec5d054bb0481133995875fa0bf854c1f5febceba7c0d156c9f249952687f0132bbc36ac59606013625b395faa301173ecdd247b4de0bc168b
32 DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672
33 -DIST rails-6.1.3.tgz 10991190 BLAKE2B d7a01ad39d4caaee1eaeed9909255fe16c3bd224c61408aca8e319e21ea36566a5be4bbaff37d4d19ee88ec2914e08f85e4e71c970ba39ade8b86f8ba4603b25 SHA512 ec6e871e3226c3efa5dc7f59cbd1819b45ab0d1a21b39b8c2d76022fff761fb268f79c7b560b987af245d9e305ecc4517379de3769d468b5a548005f8533044a
34
35 diff --git a/dev-ruby/activesupport/activesupport-5.2.4.5.ebuild b/dev-ruby/activesupport/activesupport-5.2.4.5.ebuild
36 deleted file mode 100644
37 index e74656bd99b..00000000000
38 --- a/dev-ruby/activesupport/activesupport-5.2.4.5.ebuild
39 +++ /dev/null
40 @@ -1,72 +0,0 @@
41 -# Copyright 1999-2021 Gentoo Authors
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=6
45 -
46 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
47 -
48 -RUBY_FAKEGEM_TASK_DOC=""
49 -
50 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
51 -
52 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
53 -
54 -RUBY_FAKEGEM_BINWRAP=""
55 -
56 -inherit ruby-fakegem eapi7-ver
57 -
58 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
59 -HOMEPAGE="https://github.com/rails/rails"
60 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
61 -
62 -LICENSE="MIT"
63 -SLOT="$(ver_cut 1-2)"
64 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
65 -IUSE=""
66 -
67 -RUBY_S="rails-${PV}/${PN}"
68 -
69 -ruby_add_rdepend "
70 - >=dev-ruby/concurrent-ruby-1.0.2:1
71 - dev-ruby/i18n:1
72 - >=dev-ruby/tzinfo-1.1:1
73 - >=dev-ruby/minitest-5.1:5"
74 -
75 -# memcache-client, nokogiri, and builder are not strictly
76 -# needed, but there are tests using this code.
77 -ruby_add_bdepend "test? (
78 - >=dev-ruby/dalli-2.2.1
79 - >=dev-ruby/nokogiri-1.4.5
80 - >=dev-ruby/builder-3.1.0
81 - >=dev-ruby/listen-3.0.5:3
82 - dev-ruby/rack
83 - dev-ruby/mocha
84 - )"
85 -
86 -all_ruby_prepare() {
87 - # Set the secure permissions that tests expect.
88 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
89 -
90 - # Remove items from the common Gemfile that we don't need for this
91 - # test run. This also requires handling some gemspecs.
92 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
93 - -e '/:job/,/end/ s:^:#:' \
94 - -e '/group :doc/,/^end/ s:^:#:' \
95 - -e 's/gemspec/gemspec path: "activesupport"/' \
96 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
97 - rm ../Gemfile.lock || die
98 - sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
99 -
100 - # Avoid test that depends on timezone
101 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
102 -
103 - # Avoid tests that seem to trigger race conditions.
104 - rm -f test/evented_file_update_checker_test.rb || die
105 -
106 - # Avoid test that generates filename that is too long
107 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
108 -
109 - # Avoid tests requiring a live redis running
110 - rm -f test/cache/stores/redis_cache_store_test.rb || die
111 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
112 -}
113
114 diff --git a/dev-ruby/activesupport/activesupport-6.0.3.5.ebuild b/dev-ruby/activesupport/activesupport-6.0.3.5.ebuild
115 deleted file mode 100644
116 index 2283081961c..00000000000
117 --- a/dev-ruby/activesupport/activesupport-6.0.3.5.ebuild
118 +++ /dev/null
119 @@ -1,73 +0,0 @@
120 -# Copyright 1999-2021 Gentoo Authors
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=7
124 -
125 -USE_RUBY="ruby25 ruby26 ruby27"
126 -
127 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
128 -
129 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
130 -
131 -RUBY_FAKEGEM_BINWRAP=""
132 -
133 -inherit ruby-fakegem
134 -
135 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
136 -HOMEPAGE="https://github.com/rails/rails"
137 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
138 -
139 -LICENSE="MIT"
140 -SLOT="$(ver_cut 1-2)"
141 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
142 -IUSE=""
143 -
144 -RUBY_S="rails-${PV}/${PN}"
145 -
146 -ruby_add_rdepend "
147 - >=dev-ruby/concurrent-ruby-1.0.2:1
148 - dev-ruby/i18n:1
149 - >=dev-ruby/tzinfo-1.1:1
150 - >=dev-ruby/minitest-5.1:5
151 - >=dev-ruby/zeitwerk-2.2:2
152 -"
153 -
154 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
155 -# but there are tests using this code.
156 -ruby_add_bdepend "test? (
157 - >=dev-ruby/dalli-2.2.1
158 - >=dev-ruby/nokogiri-1.4.5
159 - >=dev-ruby/builder-3.1.0
160 - >=dev-ruby/listen-3.0.5:3
161 - dev-ruby/rack
162 - dev-ruby/mocha
163 - )"
164 -
165 -all_ruby_prepare() {
166 - # Set the secure permissions that tests expect.
167 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
168 -
169 - # Remove items from the common Gemfile that we don't need for this
170 - # test run. This also requires handling some gemspecs.
171 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\)/ s:^:#:" \
172 - -e '/:job/,/end/ s:^:#:' \
173 - -e '/group :doc/,/^end/ s:^:#:' \
174 - -e 's/gemspec/gemspec path: "activesupport"/' \
175 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
176 - rm ../Gemfile.lock || die
177 - sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
178 -
179 - # Avoid test that depends on timezone
180 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
181 -
182 - # Avoid tests that seem to trigger race conditions.
183 - rm -f test/evented_file_update_checker_test.rb || die
184 -
185 - # Avoid test that generates filename that is too long
186 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
187 -
188 - # Avoid tests requiring a live redis running
189 - rm -f test/cache/stores/redis_cache_store_test.rb || die
190 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
191 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
192 -}
193
194 diff --git a/dev-ruby/activesupport/activesupport-6.1.2.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.2.1.ebuild
195 deleted file mode 100644
196 index 077b419f771..00000000000
197 --- a/dev-ruby/activesupport/activesupport-6.1.2.1.ebuild
198 +++ /dev/null
199 @@ -1,72 +0,0 @@
200 -# Copyright 1999-2021 Gentoo Authors
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=7
204 -
205 -USE_RUBY="ruby25 ruby26 ruby27"
206 -
207 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
208 -
209 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
210 -
211 -RUBY_FAKEGEM_BINWRAP=""
212 -
213 -inherit ruby-fakegem
214 -
215 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
216 -HOMEPAGE="https://github.com/rails/rails"
217 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
218 -
219 -LICENSE="MIT"
220 -SLOT="$(ver_cut 1-2)"
221 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
222 -IUSE=""
223 -
224 -RUBY_S="rails-${PV}/${PN}"
225 -
226 -ruby_add_rdepend "
227 - >=dev-ruby/concurrent-ruby-1.0.2:1
228 - >=dev-ruby/i18n-1.6:1
229 - dev-ruby/tzinfo:2
230 - >=dev-ruby/minitest-5.1:5
231 - >=dev-ruby/zeitwerk-2.3:2
232 -"
233 -
234 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
235 -# but there are tests using this code.
236 -ruby_add_bdepend "test? (
237 - >=dev-ruby/dalli-2.2.1
238 - >=dev-ruby/nokogiri-1.4.5
239 - >=dev-ruby/builder-3.1.0
240 - >=dev-ruby/listen-3.3:3
241 - dev-ruby/rack
242 - dev-ruby/mocha
243 - )"
244 -
245 -all_ruby_prepare() {
246 - # Set the secure permissions that tests expect.
247 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
248 -
249 - # Remove items from the common Gemfile that we don't need for this
250 - # test run. This also requires handling some gemspecs.
251 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|blade\|aws-sdk\|webmock\|sass-rails\|selenium-webdriver\)/ s:^:#:" \
252 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
253 - -e 's/gemspec/gemspec path: "activesupport"/' \
254 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
255 - rm ../Gemfile.lock || die
256 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
257 -
258 - # Avoid test that depends on timezone
259 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
260 -
261 - # Avoid tests that seem to trigger race conditions.
262 - rm -f test/evented_file_update_checker_test.rb || die
263 -
264 - # Avoid test that generates filename that is too long
265 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
266 -
267 - # Avoid tests requiring a live redis running
268 - rm -f test/cache/stores/redis_cache_store_test.rb || die
269 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
270 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
271 -}
272
273 diff --git a/dev-ruby/activesupport/activesupport-6.1.3.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.3.1.ebuild
274 deleted file mode 100644
275 index 077b419f771..00000000000
276 --- a/dev-ruby/activesupport/activesupport-6.1.3.1.ebuild
277 +++ /dev/null
278 @@ -1,72 +0,0 @@
279 -# Copyright 1999-2021 Gentoo Authors
280 -# Distributed under the terms of the GNU General Public License v2
281 -
282 -EAPI=7
283 -
284 -USE_RUBY="ruby25 ruby26 ruby27"
285 -
286 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
287 -
288 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
289 -
290 -RUBY_FAKEGEM_BINWRAP=""
291 -
292 -inherit ruby-fakegem
293 -
294 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
295 -HOMEPAGE="https://github.com/rails/rails"
296 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
297 -
298 -LICENSE="MIT"
299 -SLOT="$(ver_cut 1-2)"
300 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
301 -IUSE=""
302 -
303 -RUBY_S="rails-${PV}/${PN}"
304 -
305 -ruby_add_rdepend "
306 - >=dev-ruby/concurrent-ruby-1.0.2:1
307 - >=dev-ruby/i18n-1.6:1
308 - dev-ruby/tzinfo:2
309 - >=dev-ruby/minitest-5.1:5
310 - >=dev-ruby/zeitwerk-2.3:2
311 -"
312 -
313 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
314 -# but there are tests using this code.
315 -ruby_add_bdepend "test? (
316 - >=dev-ruby/dalli-2.2.1
317 - >=dev-ruby/nokogiri-1.4.5
318 - >=dev-ruby/builder-3.1.0
319 - >=dev-ruby/listen-3.3:3
320 - dev-ruby/rack
321 - dev-ruby/mocha
322 - )"
323 -
324 -all_ruby_prepare() {
325 - # Set the secure permissions that tests expect.
326 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
327 -
328 - # Remove items from the common Gemfile that we don't need for this
329 - # test run. This also requires handling some gemspecs.
330 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|blade\|aws-sdk\|webmock\|sass-rails\|selenium-webdriver\)/ s:^:#:" \
331 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
332 - -e 's/gemspec/gemspec path: "activesupport"/' \
333 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
334 - rm ../Gemfile.lock || die
335 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
336 -
337 - # Avoid test that depends on timezone
338 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
339 -
340 - # Avoid tests that seem to trigger race conditions.
341 - rm -f test/evented_file_update_checker_test.rb || die
342 -
343 - # Avoid test that generates filename that is too long
344 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
345 -
346 - # Avoid tests requiring a live redis running
347 - rm -f test/cache/stores/redis_cache_store_test.rb || die
348 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
349 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
350 -}
351
352 diff --git a/dev-ruby/activesupport/activesupport-6.1.3.ebuild b/dev-ruby/activesupport/activesupport-6.1.3.ebuild
353 deleted file mode 100644
354 index 077b419f771..00000000000
355 --- a/dev-ruby/activesupport/activesupport-6.1.3.ebuild
356 +++ /dev/null
357 @@ -1,72 +0,0 @@
358 -# Copyright 1999-2021 Gentoo Authors
359 -# Distributed under the terms of the GNU General Public License v2
360 -
361 -EAPI=7
362 -
363 -USE_RUBY="ruby25 ruby26 ruby27"
364 -
365 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
366 -
367 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
368 -
369 -RUBY_FAKEGEM_BINWRAP=""
370 -
371 -inherit ruby-fakegem
372 -
373 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
374 -HOMEPAGE="https://github.com/rails/rails"
375 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
376 -
377 -LICENSE="MIT"
378 -SLOT="$(ver_cut 1-2)"
379 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
380 -IUSE=""
381 -
382 -RUBY_S="rails-${PV}/${PN}"
383 -
384 -ruby_add_rdepend "
385 - >=dev-ruby/concurrent-ruby-1.0.2:1
386 - >=dev-ruby/i18n-1.6:1
387 - dev-ruby/tzinfo:2
388 - >=dev-ruby/minitest-5.1:5
389 - >=dev-ruby/zeitwerk-2.3:2
390 -"
391 -
392 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
393 -# but there are tests using this code.
394 -ruby_add_bdepend "test? (
395 - >=dev-ruby/dalli-2.2.1
396 - >=dev-ruby/nokogiri-1.4.5
397 - >=dev-ruby/builder-3.1.0
398 - >=dev-ruby/listen-3.3:3
399 - dev-ruby/rack
400 - dev-ruby/mocha
401 - )"
402 -
403 -all_ruby_prepare() {
404 - # Set the secure permissions that tests expect.
405 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
406 -
407 - # Remove items from the common Gemfile that we don't need for this
408 - # test run. This also requires handling some gemspecs.
409 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|blade\|aws-sdk\|webmock\|sass-rails\|selenium-webdriver\)/ s:^:#:" \
410 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
411 - -e 's/gemspec/gemspec path: "activesupport"/' \
412 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
413 - rm ../Gemfile.lock || die
414 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
415 -
416 - # Avoid test that depends on timezone
417 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
418 -
419 - # Avoid tests that seem to trigger race conditions.
420 - rm -f test/evented_file_update_checker_test.rb || die
421 -
422 - # Avoid test that generates filename that is too long
423 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
424 -
425 - # Avoid tests requiring a live redis running
426 - rm -f test/cache/stores/redis_cache_store_test.rb || die
427 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
428 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
429 -}