1 |
commit: 47c4776fdfc25dd8b611d9e71edb562b7bd7795d |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 10:36:45 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 10:38:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c4776f |
7 |
|
8 |
dev-ruby/activesupport: add 7.0.2.4 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/activesupport/Manifest | 1 + |
13 |
.../activesupport/activesupport-7.0.2.4.ebuild | 73 ++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest |
17 |
index dbbe75a77aab..37df039398ca 100644 |
18 |
--- a/dev-ruby/activesupport/Manifest |
19 |
+++ b/dev-ruby/activesupport/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c5 |
21 |
DIST rails-6.1.5.tgz 11017020 BLAKE2B 5e1a167550998f8149ac770397f4e39a979f48365494f97d4b387559070e4e9264ddc93bf20e5c19537b4683a793a2c316bcb3f829cc05f0155b31a609da6756 SHA512 a90fe7781ddbb6a035ea7dcb950e2ab03a7297502891d4a88dfe7c3ef90b78d8009ea62a35272d3500e8819466042b883193ebb030683fc2cf7e5dc0e720edb1 |
22 |
DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d |
23 |
DIST rails-7.0.2.3.tgz 11037677 BLAKE2B b4d0ac3d2c56d262beca4f5ba1659a67526c01321dc00ef8392a11c6fbc7614e3c02cf02ffcbb5ed1911005c1be0c0741e225f45c5946fc9102629c5ba5d32ab SHA512 4dcbe65ce1bad803dd04be61918f1ca893529705a8336a0c09b0193eb453319fc42ed0e2dca6ff5cb56f0c2bc5ab03c9d9f479101904ad1a746980cd887798d4 |
24 |
+DIST rails-7.0.2.4.tgz 11014591 BLAKE2B 4a678dddca134769a40d73a6652a6aa273456288c19ddbe7611ae40a14860abf77226ab351ead92647fb471751521377c51cafae40383198ff3d3477bc257b55 SHA512 948cf58dd6ac517fb4b1e63c3a1dbfcf2405fd224ea150cb92f5805939d3a458ad26e139b1c6069cc587c01f15694be14e119ee56769a611e6b6eaa0eae5a68c |
25 |
|
26 |
diff --git a/dev-ruby/activesupport/activesupport-7.0.2.4.ebuild b/dev-ruby/activesupport/activesupport-7.0.2.4.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..0a0ffb05e4cc |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/activesupport/activesupport-7.0.2.4.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+USE_RUBY="ruby27 ruby30" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" |
42 |
+ |
43 |
+RUBY_FAKEGEM_BINWRAP="" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="Utility Classes and Extension to the Standard Library" |
48 |
+HOMEPAGE="https://github.com/rails/rails" |
49 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="$(ver_cut 1-2)" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
54 |
+IUSE="" |
55 |
+ |
56 |
+RUBY_S="rails-${PV}/${PN}" |
57 |
+ |
58 |
+ruby_add_rdepend " |
59 |
+ >=dev-ruby/concurrent-ruby-1.0.2:1 |
60 |
+ >=dev-ruby/i18n-1.6:1 |
61 |
+ dev-ruby/tzinfo:2 |
62 |
+ >=dev-ruby/minitest-5.1:5 |
63 |
+" |
64 |
+ |
65 |
+# memcache-client, nokogiri, builder, and redis are not strictly needed, |
66 |
+# but there are tests using this code. |
67 |
+ruby_add_bdepend "test? ( |
68 |
+ >=dev-ruby/dalli-3.0.1 |
69 |
+ dev-ruby/connection_pool |
70 |
+ >=dev-ruby/nokogiri-1.8.1 |
71 |
+ >=dev-ruby/builder-3.1.0 |
72 |
+ >=dev-ruby/listen-3.3:3 |
73 |
+ dev-ruby/rack |
74 |
+ dev-ruby/rexml |
75 |
+ dev-ruby/mocha |
76 |
+ )" |
77 |
+ |
78 |
+all_ruby_prepare() { |
79 |
+ # Set the secure permissions that tests expect. |
80 |
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home" |
81 |
+ |
82 |
+ # Remove items from the common Gemfile that we don't need for this |
83 |
+ # test run. This also requires handling some gemspecs. |
84 |
+ sed -i -e "/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\)/ s:^:#:" \ |
85 |
+ -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ |
86 |
+ -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\|view\) do/,/^end/ s:^:#:' \ |
87 |
+ -e 's/gemspec/gemspec path: "activesupport"/' \ |
88 |
+ -e '5igem "builder"; gem "rack"' ../Gemfile || die |
89 |
+ rm ../Gemfile.lock || die |
90 |
+ |
91 |
+ # Avoid test that depends on timezone |
92 |
+ sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die |
93 |
+ |
94 |
+ # Avoid tests that seem to trigger race conditions. |
95 |
+ rm -f test/evented_file_update_checker_test.rb || die |
96 |
+ |
97 |
+ # Avoid test that generates filename that is too long |
98 |
+ sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die |
99 |
+ |
100 |
+ # Avoid tests requiring a live redis running |
101 |
+ rm -f test/cache/stores/redis_cache_store_test.rb || die |
102 |
+ sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die |
103 |
+ sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die |
104 |
+} |