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