1 |
commit: 2827e5a1476858bb06b54fc0344a1adafc008217 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 11 16:53:51 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 17:00:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2827e5a1 |
7 |
|
8 |
dev-ruby/activesupport: add 6.0.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/activesupport/Manifest | 1 + |
14 |
dev-ruby/activesupport/activesupport-6.0.3.ebuild | 73 +++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest |
18 |
index cade3ca76a8..2671a927c04 100644 |
19 |
--- a/dev-ruby/activesupport/Manifest |
20 |
+++ b/dev-ruby/activesupport/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rails-5.2.4.2.tgz 8823143 BLAKE2B 273bee6ccc2354bcfd8d24b320fe69c24f643c196eba053c727d30b13d4178069068c430a0a4112ae28c3e4b5a5dde0b66a7c46c7c28054f2b7a678427f478af SHA512 21561407a0b606dbd2fb6ad12ef910c0bdf3d5162db7e55f4f41f698280ba73664b0b5594930d4cebcb42a66e2e5e22de3523789818eb424443e8c5b2316b8fc |
23 |
DIST rails-6.0.2.2.tgz 18556125 BLAKE2B f4ed5cc6cbbfa84fb687aba5a6c8f2f6ab68febb41147c40ed8dbc6253c128adbac6503e65e89fe672f50270716d197d8c05b4e1e286aafd76581fc167e6c5da SHA512 c1aab2d6c72948c75a047aec9d9f651f0c1bae78bb17e2fa0cb393113ee1e59980dc093e6f3fd3b2f3839c9b3bb4afcd0b0badfd9574b35b932275a9d9800689 |
24 |
+DIST rails-6.0.3.tgz 18565682 BLAKE2B fe8601aec070535f487801eec16d944809be824e4833b7a906b47b4099dd5e72515ac3e492e4301dd651657fc2c4547ecbdd2c12265e04aad2758e9e284ad385 SHA512 f4572b4ebba9a79a6910c554f06e71efab5ccc0090e1a620e80b9d3b479cdd21d5a041437d90313e045e47ccc6e44eb21d4e56cc9fe1fb791cf5593427d0501b |
25 |
|
26 |
diff --git a/dev-ruby/activesupport/activesupport-6.0.3.ebuild b/dev-ruby/activesupport/activesupport-6.0.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bf4536107f9 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/activesupport/activesupport-6.0.3.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+USE_RUBY="ruby25 ruby26 ruby27" |
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 ~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 |
61 |
+ >=dev-ruby/tzinfo-1.1:1 |
62 |
+ >=dev-ruby/minitest-5.1:5 |
63 |
+ >=dev-ruby/zeitwerk-2.1.8:2 |
64 |
+" |
65 |
+ |
66 |
+# memcache-client, nokogiri, builder, and redis are not strictly needed, |
67 |
+# but there are tests using this code. |
68 |
+ruby_add_bdepend "test? ( |
69 |
+ >=dev-ruby/dalli-2.2.1 |
70 |
+ >=dev-ruby/nokogiri-1.4.5 |
71 |
+ >=dev-ruby/builder-3.1.0 |
72 |
+ >=dev-ruby/listen-3.0.5:3 |
73 |
+ dev-ruby/rack |
74 |
+ dev-ruby/mocha |
75 |
+ )" |
76 |
+ |
77 |
+all_ruby_prepare() { |
78 |
+ # Set the secure permissions that tests expect. |
79 |
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home" |
80 |
+ |
81 |
+ # Remove items from the common Gemfile that we don't need for this |
82 |
+ # test run. This also requires handling some gemspecs. |
83 |
+ 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:^:#:" \ |
84 |
+ -e '/:job/,/end/ s:^:#:' \ |
85 |
+ -e '/group :doc/,/^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 |
+} |