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: Sun, 20 Feb 2022 08:16:38
Message-Id: 1645344988.2534223ee27f02b4cfbff1e3b1b3013eb9337644.graaff@gentoo
1 commit: 2534223ee27f02b4cfbff1e3b1b3013eb9337644
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 08:16:28 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 08:16:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2534223e
7
8 dev-ruby/activesupport: cleanup
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 | 2 -
14 .../activesupport/activesupport-6.1.4.1.ebuild | 74 ----------------------
15 .../activesupport/activesupport-6.1.4.3.ebuild | 74 ----------------------
16 3 files changed, 150 deletions(-)
17
18 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
19 index 8487dffe23df..50fbf4e06ce6 100644
20 --- a/dev-ruby/activesupport/Manifest
21 +++ b/dev-ruby/activesupport/Manifest
22 @@ -2,7 +2,5 @@ DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c543
23 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd SHA512 322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
24 DIST rails-6.0.4.3.tgz 18594602 BLAKE2B 99ee38f02ffece7972b34dc4bf8de6aece131fbdd1ac92c01272296e87b033d0a877a4fc724d3acece0442025ff9906a3e735ae75a8313135f2ffc55be988b38 SHA512 ae71145cc6e2a532271f6fe063347b261a7c6b1153f4978da5fd539b51b356baa555e731b759d9b49c342b2623b30ff9962396346df66d7e97aeca1fa806b333
25 DIST rails-6.0.4.4.tgz 18594292 BLAKE2B 8f463900db30ffd4850b270aac0ae8c160af36a606e4eddaadbd2a0c086de3438a36665586e20a4b6b8873f8b659f2ecd3e32965a36118a6e63fad2726afa0f5 SHA512 14f7d51ba407589eb4ef1db8a99c21c301198e8cb2fcdf611c76eebd1d52192eb1225bb5d45a2183fbfe103a0b987f3a95c6c5fe6d772ba101da9ed46441441f
26 -DIST rails-6.1.4.1.tgz 11003728 BLAKE2B 8baa45968536ebe34f3bc4e4f25246bff68997a88c1019d1f7b7ba73785bc11901d7222ac04866b900c7dc35f9291ede78c0949abd979e797d07f3759179c05a SHA512 411d3fe21c7500e884edb86cc6728c4d3b7125d2e6ea913191437716f2be0d522252c55c25cb4c5221cc112b3ca5eeba690b0b0e59572fcc54ea42ba05ec4520
27 -DIST rails-6.1.4.3.tgz 11007190 BLAKE2B 085d500407f03d8c46335d91e3ebc5cd092c801de25f7e4fd5ac4ae6f03e54c5347e720386763307e183e2f0f48aaf84142092f47b62ab395082e4068e46f883 SHA512 f47a2e155fc80c287360b1a17a0f870208c523a28b77737648b4f260dc4fec6e9ccc91861b84862828fda48c214d39dcff32430ed5a02c8b9ee59ba6efb6151c
28 DIST rails-6.1.4.4.tgz 11006695 BLAKE2B af5afbd1adafa259f3d58d31e8e616be5e83e73d3e7231fd62717c0a8c0012e7ecf5346f2465a61f72d96fdc71755e954069adfebc84dddddcb29cb8a215cee1 SHA512 4215be8f447e5b486a1c0d99208fbeb1f7222aa3bdff7127e31c95670a74aa315a044df0048a55fd078f42a07f17d4b7248efc09d6fac2a4b6efef8624a509ef
29 DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d
30
31 diff --git a/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
32 deleted file mode 100644
33 index 39b22d9a4d52..000000000000
34 --- a/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
35 +++ /dev/null
36 @@ -1,74 +0,0 @@
37 -# Copyright 1999-2021 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -USE_RUBY="ruby25 ruby26 ruby27"
43 -
44 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
45 -
46 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
47 -
48 -RUBY_FAKEGEM_BINWRAP=""
49 -
50 -inherit ruby-fakegem
51 -
52 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
53 -HOMEPAGE="https://github.com/rails/rails"
54 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
55 -
56 -LICENSE="MIT"
57 -SLOT="$(ver_cut 1-2)"
58 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
59 -IUSE=""
60 -
61 -RUBY_S="rails-${PV}/${PN}"
62 -
63 -ruby_add_rdepend "
64 - >=dev-ruby/concurrent-ruby-1.0.2:1
65 - >=dev-ruby/i18n-1.6:1
66 - dev-ruby/tzinfo:2
67 - >=dev-ruby/minitest-5.1:5
68 - >=dev-ruby/zeitwerk-2.3:2
69 -"
70 -
71 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
72 -# but there are tests using this code.
73 -ruby_add_bdepend "test? (
74 - >=dev-ruby/dalli-2.2.1
75 - dev-ruby/connection_pool
76 - >=dev-ruby/nokogiri-1.8.1
77 - >=dev-ruby/builder-3.1.0
78 - >=dev-ruby/listen-3.3:3
79 - dev-ruby/rack
80 - dev-ruby/rexml
81 - dev-ruby/mocha
82 - )"
83 -
84 -all_ruby_prepare() {
85 - # Set the secure permissions that tests expect.
86 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
87 -
88 - # Remove items from the common Gemfile that we don't need for this
89 - # test run. This also requires handling some gemspecs.
90 - 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:^:#:" \
91 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
92 - -e 's/gemspec/gemspec path: "activesupport"/' \
93 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
94 - rm ../Gemfile.lock || die
95 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
96 -
97 - # Avoid test that depends on timezone
98 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
99 -
100 - # Avoid tests that seem to trigger race conditions.
101 - rm -f test/evented_file_update_checker_test.rb || die
102 -
103 - # Avoid test that generates filename that is too long
104 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
105 -
106 - # Avoid tests requiring a live redis running
107 - rm -f test/cache/stores/redis_cache_store_test.rb || die
108 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
109 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
110 -}
111
112 diff --git a/dev-ruby/activesupport/activesupport-6.1.4.3.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.3.ebuild
113 deleted file mode 100644
114 index c6f8f6598edb..000000000000
115 --- a/dev-ruby/activesupport/activesupport-6.1.4.3.ebuild
116 +++ /dev/null
117 @@ -1,74 +0,0 @@
118 -# Copyright 1999-2021 Gentoo Authors
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=8
122 -
123 -USE_RUBY="ruby26 ruby27"
124 -
125 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
126 -
127 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
128 -
129 -RUBY_FAKEGEM_BINWRAP=""
130 -
131 -inherit ruby-fakegem
132 -
133 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
134 -HOMEPAGE="https://github.com/rails/rails"
135 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
136 -
137 -LICENSE="MIT"
138 -SLOT="$(ver_cut 1-2)"
139 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
140 -IUSE=""
141 -
142 -RUBY_S="rails-${PV}/${PN}"
143 -
144 -ruby_add_rdepend "
145 - >=dev-ruby/concurrent-ruby-1.0.2:1
146 - >=dev-ruby/i18n-1.6:1
147 - dev-ruby/tzinfo:2
148 - >=dev-ruby/minitest-5.1:5
149 - >=dev-ruby/zeitwerk-2.3:2
150 -"
151 -
152 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
153 -# but there are tests using this code.
154 -ruby_add_bdepend "test? (
155 - >=dev-ruby/dalli-2.2.1
156 - dev-ruby/connection_pool
157 - >=dev-ruby/nokogiri-1.8.1
158 - >=dev-ruby/builder-3.1.0
159 - >=dev-ruby/listen-3.3:3
160 - dev-ruby/rack
161 - dev-ruby/rexml
162 - dev-ruby/mocha
163 - )"
164 -
165 -all_ruby_prepare() {
166 - # Set the secure permissions that tests expect.
167 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
168 -
169 - # Remove items from the common Gemfile that we don't need for this
170 - # test run. This also requires handling some gemspecs.
171 - 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:^:#:" \
172 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
173 - -e 's/gemspec/gemspec path: "activesupport"/' \
174 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
175 - rm ../Gemfile.lock || die
176 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
177 -
178 - # Avoid test that depends on timezone
179 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
180 -
181 - # Avoid tests that seem to trigger race conditions.
182 - rm -f test/evented_file_update_checker_test.rb || die
183 -
184 - # Avoid test that generates filename that is too long
185 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
186 -
187 - # Avoid tests requiring a live redis running
188 - rm -f test/cache/stores/redis_cache_store_test.rb || die
189 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
190 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
191 -}