1 |
commit: 1dfb0cbef73374d2441b1e2684df63b8a1ed741e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 13:57:05 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 13:59:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dfb0cbe |
7 |
|
8 |
dev-ruby/activesupport: add 6.1.4.6 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/activesupport/Manifest | 1 + |
14 |
.../activesupport/activesupport-6.1.4.6.ebuild | 74 ++++++++++++++++++++++ |
15 |
2 files changed, 75 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest |
18 |
index 50fbf4e06ce6..786d7e1fc6b2 100644 |
19 |
--- a/dev-ruby/activesupport/Manifest |
20 |
+++ b/dev-ruby/activesupport/Manifest |
21 |
@@ -3,4 +3,5 @@ DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8 |
22 |
DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38 SHA512 ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333 |
23 |
DIST rails-6.0.4.4.tgz 18594292 BLAKE2B 8f463900db30ffd4850b270aac0ae8c160af36a606e4eddaadbd2a0c086de3438a36665586e20a4b6b8873f8b659f2ecd3e32965a36118a6e63fad2726afa0f5 SHA512 14f7d51ba407589eb4ef1db8a99c21c301198e8cb2fcdf611c76eebd1d52192eb1225bb5d45a2183fbfe103a0b987f3a95c6c5fe6d772ba101da9ed46441441f |
24 |
DIST rails-6.1.4.4.tgz 11006695 BLAKE2B af5afbd1adafa259f3d58d31e8e616be5e83e73d3e7231fd62717c0a8c0012e7ecf5346f2465a61f72d96fdc71755e954069adfebc84dddddcb29cb8a215cee1 SHA512 4215be8f447e5b486a1c0d99208fbeb1f7222aa3bdff7127e31c95670a74aa315a044df0048a55fd078f42a07f17d4b7248efc09d6fac2a4b6efef8624a509ef |
25 |
+DIST rails-6.1.4.6.tgz 11006958 BLAKE2B e365570a5d4b0e46803ec0c13639e43f4258c068362a706c99cce8b308463ef4612ff0ceeaa98877354dc40655d8a5d1302e1cb7b3e7b265e8fa466ce7ddc124 SHA512 89f1bbfa8bb91db26203375b979eabdfee4b085c85787557fae2d55182fa1c048cd00ff28ef20dd95f062dcaeb1f1d99be6fd081821268c8263295866ff2983e |
26 |
DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d |
27 |
|
28 |
diff --git a/dev-ruby/activesupport/activesupport-6.1.4.6.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.6.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..cfa49feb955e |
31 |
--- /dev/null |
32 |
+++ b/dev-ruby/activesupport/activesupport-6.1.4.6.ebuild |
33 |
@@ -0,0 +1,74 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+USE_RUBY="ruby26 ruby27" |
40 |
+ |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" |
44 |
+ |
45 |
+RUBY_FAKEGEM_BINWRAP="" |
46 |
+ |
47 |
+inherit ruby-fakegem |
48 |
+ |
49 |
+DESCRIPTION="Utility Classes and Extension to the Standard Library" |
50 |
+HOMEPAGE="https://github.com/rails/rails" |
51 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="$(ver_cut 1-2)" |
55 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
56 |
+IUSE="" |
57 |
+ |
58 |
+RUBY_S="rails-${PV}/${PN}" |
59 |
+ |
60 |
+ruby_add_rdepend " |
61 |
+ >=dev-ruby/concurrent-ruby-1.0.2:1 |
62 |
+ >=dev-ruby/i18n-1.6:1 |
63 |
+ dev-ruby/tzinfo:2 |
64 |
+ >=dev-ruby/minitest-5.1:5 |
65 |
+ >=dev-ruby/zeitwerk-2.3:2 |
66 |
+" |
67 |
+ |
68 |
+# memcache-client, nokogiri, builder, and redis are not strictly needed, |
69 |
+# but there are tests using this code. |
70 |
+ruby_add_bdepend "test? ( |
71 |
+ >=dev-ruby/dalli-2.2.1 |
72 |
+ dev-ruby/connection_pool |
73 |
+ >=dev-ruby/nokogiri-1.8.1 |
74 |
+ >=dev-ruby/builder-3.1.0 |
75 |
+ >=dev-ruby/listen-3.3:3 |
76 |
+ dev-ruby/rack |
77 |
+ dev-ruby/rexml |
78 |
+ dev-ruby/mocha |
79 |
+ )" |
80 |
+ |
81 |
+all_ruby_prepare() { |
82 |
+ # Set the secure permissions that tests expect. |
83 |
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home" |
84 |
+ |
85 |
+ # Remove items from the common Gemfile that we don't need for this |
86 |
+ # test run. This also requires handling some gemspecs. |
87 |
+ 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\)/ s:^:#:" \ |
88 |
+ -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \ |
89 |
+ -e 's/gemspec/gemspec path: "activesupport"/' \ |
90 |
+ -e '5igem "builder"; gem "rack"' ../Gemfile || die |
91 |
+ rm ../Gemfile.lock || die |
92 |
+# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die |
93 |
+ |
94 |
+ # Avoid test that depends on timezone |
95 |
+ sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die |
96 |
+ |
97 |
+ # Avoid tests that seem to trigger race conditions. |
98 |
+ rm -f test/evented_file_update_checker_test.rb || die |
99 |
+ |
100 |
+ # Avoid test that generates filename that is too long |
101 |
+ sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die |
102 |
+ |
103 |
+ # Avoid tests requiring a live redis running |
104 |
+ rm -f test/cache/stores/redis_cache_store_test.rb || die |
105 |
+ sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die |
106 |
+ sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die |
107 |
+} |