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, 15 Mar 2023 07:13:09
Message-Id: 1678864246.1bedef0b8c0f56238ca28b20a64f9d4e7b2cc5e9.graaff@gentoo
1 commit: 1bedef0b8c0f56238ca28b20a64f9d4e7b2cc5e9
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 15 07:10:46 2023 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 15 07:10:46 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bedef0b
7
8 dev-ruby/activesupport: add 6.1.7.3
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/activesupport/Manifest | 1 +
13 .../activesupport/activesupport-6.1.7.3.ebuild | 75 ++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
17 index fb3ed3825b28..3a1edb365a39 100644
18 --- a/dev-ruby/activesupport/Manifest
19 +++ b/dev-ruby/activesupport/Manifest
20 @@ -2,6 +2,7 @@ DIST rails-6.0.5.1.tgz 18607954 BLAKE2B 74f75399a287f1eae199a5764c952b75dd95a02c
21 DIST rails-6.0.6.1.tgz 18608328 BLAKE2B 10e6cb2d23acb75c95c25e2e6cc62de05c9c89f249c6cb9abffdd3a6ed83eb1dca996e6ef56a92cf77dddd3f8f9373ad947690015fb7966ddc599c995cea1121 SHA512 6873354fe2f8b9bf8bc12c7e6affda4300c158ee825f996eea6032a70f9532009d8f626d2736af22a452c8a3b331d1252ff19666e021150bfae2a8d575890c27
22 DIST rails-6.1.6.1.tgz 11028264 BLAKE2B 568033eb816613ba0ba5f2df38e6a30158b2e31ef4d4da151f8c0de2934b07736833026793ce9192994d9ef2a2a45b67735a35760c1be8b8a68c1968147cc6db SHA512 04acf9dbf5ee734636aada67be001690899eb13f73ea688455fcaee8cbf4839aedf06943c8adb5eecf13fd9a5f6be1a225310aa481d3a254172fd0ce0402362f
23 DIST rails-6.1.7.2.tgz 11037081 BLAKE2B 0004f4bc8b2370119cbe0f6a9133278ae78b1d274f040f08d18edd06696e6fcc609154a042c68b77e11893fbef83ec8eabd9f1e2c28920269189ee1352a0695a SHA512 f667904b0d3ffda3579e5046da3b36c242581bacf140966bf1dc59fc7ea91f34f4affc76b0d6cfad4b80f0332aeec5fc8ab35fb793fc935f1d1b4fe6d18ce1de
24 +DIST rails-6.1.7.3.tgz 11038169 BLAKE2B 7e379b9ae3b63cb78638c1e0817ff40dc8aad79ba76b6d82310fbb4d6f5ef3dab4f252de9e49766143b828bfbce2ef7c9db3f108b5406708b61a83aeda47ea74 SHA512 fb84516a6cf370109bf45f2162161d23f375d7dc10249ed10200c74ec402129b07ac0e59bcde98a74eb499769a0cdd937af691edaabe44e061262d5510adc02e
25 DIST rails-6.1.7.tgz 11038670 BLAKE2B fd25884a6f58f10387f1f89ffd39caad337d7a3af6902f9ccdcf4eb108f9355124b6e1004d8b8f2b625ac7d9cfcd8635e7668101a1cba5d866a5fbe1b691e6e2 SHA512 7d56f604fbc2fb83a2e3a4ee070f55fb285018a48584115e0bf19982553eb5b78a173a5adbf1879e88c0739bea9dccc66879646da5c0b141b24f1500e1bdcb5f
26 DIST rails-7.0.4.2.tgz 11063555 BLAKE2B f8a862ce91a356dad702a44f1e36f8910e91481770118343c13fa00e40d57cd208ebea83e5adc0154927ef62b3f8461ded82c4e5097089fb1d872c2247feba44 SHA512 9fb80e9ec6e9edcf049635eb436c2fdb418cbdea47a6d82fefa7606e9bd14f2785b1c4445f08848692474db7ee3eb309ab26aabc5f3ba6847457d8dfd8802689
27 DIST rails-7.0.4.tgz 11061225 BLAKE2B 9c520766f936c82ae9ee943c3db0ad575d7fc59aea947fb2790cf511188fbd33166a62332564c4714372203f5fabdde842334103b48f4115c31f5d0fe18375f1 SHA512 118035226054ad5083d2affde55a812917652491f82a9a578380a790770fdda3a14904f6de10f58651bbbab278aa23920b652aa1b34c71441d465c3b7b4be82c
28
29 diff --git a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild
30 new file mode 100644
31 index 000000000000..019a5ee151fb
32 --- /dev/null
33 +++ b/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild
34 @@ -0,0 +1,75 @@
35 +# Copyright 1999-2023 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +USE_RUBY="ruby27 ruby30 ruby31"
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 ~loong ~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-3.0.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 + <dev-ruby/minitest-5.16:5
81 + )"
82 +
83 +all_ruby_prepare() {
84 + # Set the secure permissions that tests expect.
85 + chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
86 +
87 + # Remove items from the common Gemfile that we don't need for this
88 + # test run. This also requires handling some gemspecs.
89 + 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\|rack-test\)/ s:^:#:" \
90 + -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
91 + -e 's/gemspec/gemspec path: "activesupport"/' \
92 + -e '5igem "builder"; gem "rack"' ../Gemfile || die
93 + rm ../Gemfile.lock || die
94 +# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
95 +
96 + # Avoid test that depends on timezone
97 + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
98 +
99 + # Avoid tests that seem to trigger race conditions.
100 + rm -f test/evented_file_update_checker_test.rb || die
101 +
102 + # Avoid test that generates filename that is too long
103 + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
104 +
105 + # Avoid tests requiring a live redis running
106 + rm -f test/cache/stores/redis_cache_store_test.rb || die
107 + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
108 + sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
109 +}