1 |
commit: 25142539c42c4a49a3e4146643b6dec8d42d9208 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 26 06:06:47 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 26 06:06:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25142539 |
7 |
|
8 |
dev-ruby/activesupport: add 6.1.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/activesupport/Manifest | 1 + |
14 |
dev-ruby/activesupport/activesupport-6.1.4.ebuild | 72 +++++++++++++++++++++++ |
15 |
2 files changed, 73 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest |
18 |
index d9b874ded6b..7030283fb4a 100644 |
19 |
--- a/dev-ruby/activesupport/Manifest |
20 |
+++ b/dev-ruby/activesupport/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c543 |
22 |
DIST rails-6.0.3.7.tgz 18570545 BLAKE2B 6433705f18075e286d14d25dd87def61a3ac9c7a8fc5160f37b9a6f6ab0d7f36a7235602713888df45e55cf4afb56f922c476989304397d422016dc34f147353 SHA512 91612223c9461731741c056a700879ce274a177737fd19ed6341ce07acfa4e4862728ef12bfa1a70cdb3e5c8492ad0da6aae2e7d0ed5ad32d680d8bd8c3ab102 |
23 |
DIST rails-6.0.4.tgz 18594882 BLAKE2B e24ede90a572bc5ebd8244f45b987a62d50080af38e7e8b1689b9af88b66e194c0c3859e35ec2efbd306fc0c2f62a9d8aaa669fb73ddedd940c23aabc2719c2e SHA512 5a9a050ea44716cf72985643098a08716d191fe08d2cf4404fdf80709340c68d4ca083929c7118dad2532cc64a96c28e5dee3ac9541c10745d0f9d0583eda685 |
24 |
DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672 |
25 |
+DIST rails-6.1.4.tgz 11003156 BLAKE2B a0068d221da9c2b3be73f45b84ca1c1c926dfab5b759364d25428291624be31dd664faff32930ec59d5902682950895e6a5b40bcaf6106ad274622741b8f316c SHA512 e88781c690b00441fda0d50514b3ce1dde2ba4c5b93c775a6f77d50bd9aa736631c4d8b1ca6f5d0e270b8ebe902f7945823df7d0d7513881fa6b35c03bcf388f |
26 |
|
27 |
diff --git a/dev-ruby/activesupport/activesupport-6.1.4.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..077b419f771 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/activesupport/activesupport-6.1.4.ebuild |
32 |
@@ -0,0 +1,72 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+USE_RUBY="ruby25 ruby26 ruby27" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
41 |
+ |
42 |
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" |
43 |
+ |
44 |
+RUBY_FAKEGEM_BINWRAP="" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="Utility Classes and Extension to the Standard Library" |
49 |
+HOMEPAGE="https://github.com/rails/rails" |
50 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="$(ver_cut 1-2)" |
54 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
55 |
+IUSE="" |
56 |
+ |
57 |
+RUBY_S="rails-${PV}/${PN}" |
58 |
+ |
59 |
+ruby_add_rdepend " |
60 |
+ >=dev-ruby/concurrent-ruby-1.0.2:1 |
61 |
+ >=dev-ruby/i18n-1.6:1 |
62 |
+ dev-ruby/tzinfo:2 |
63 |
+ >=dev-ruby/minitest-5.1:5 |
64 |
+ >=dev-ruby/zeitwerk-2.3:2 |
65 |
+" |
66 |
+ |
67 |
+# memcache-client, nokogiri, builder, and redis are not strictly needed, |
68 |
+# but there are tests using this code. |
69 |
+ruby_add_bdepend "test? ( |
70 |
+ >=dev-ruby/dalli-2.2.1 |
71 |
+ >=dev-ruby/nokogiri-1.4.5 |
72 |
+ >=dev-ruby/builder-3.1.0 |
73 |
+ >=dev-ruby/listen-3.3:3 |
74 |
+ dev-ruby/rack |
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\|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:^:#:" \ |
85 |
+ -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \ |
86 |
+ -e 's/gemspec/gemspec path: "activesupport"/' \ |
87 |
+ -e '5igem "builder"; gem "rack"' ../Gemfile || die |
88 |
+ rm ../Gemfile.lock || die |
89 |
+# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || 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 |
+} |