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/activerecord/
Date: Sun, 29 May 2022 08:37:26
Message-Id: 1653813435.5cd556610936d527e312b52d5fe86054da6904a4.graaff@gentoo
1 commit: 5cd556610936d527e312b52d5fe86054da6904a4
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 07:30:14 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 08:37:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd55661
7
8 dev-ruby/activerecord: drop 6.0.4.4, 6.0.4.7
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/activerecord/Manifest | 2 -
13 dev-ruby/activerecord/activerecord-6.0.4.4.ebuild | 88 ----------------------
14 dev-ruby/activerecord/activerecord-6.0.4.7.ebuild | 91 -----------------------
15 3 files changed, 181 deletions(-)
16
17 diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
18 index 3b97298ecfdf..522c2d97c624 100644
19 --- a/dev-ruby/activerecord/Manifest
20 +++ b/dev-ruby/activerecord/Manifest
21 @@ -2,8 +2,6 @@ DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c543
22 DIST rails-5.2.7.1.tgz 8847972 BLAKE2B 13e5f47431a7611c1fe7ed490198a81634670460effdb14e6657bbc3455388da26db6a611f363b93b35e25a6d2693f227ef2be960d432770afd63906a2ca2b4f SHA512 64b155d522a944eed7ba08417423ebc8b3a6d2ecd39940021c37f54ae3af649d0de6dc1794b4b295d4874eb58cb17bf11d285daa146f37113c42c3aed9cc39c6
23 DIST rails-5.2.8.tgz 8847449 BLAKE2B 11937ee2aeea39cade43829a01430315a997fef070fc73a1e63baaff8b3631f82561c7acdd44cf1981501424be68d814001dd26cbf7678ca987a8311d109d367 SHA512 98e1b36bdd4235e983d0805b6ff9779e3793d1bed486dc6de854215c4294334d5036157a527c1222cc2be4c107754553dadf2bf86e65ce6561dd8152c47ef84a
24 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd SHA512 322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
25 -DIST rails-6.0.4.4.tgz 18594292 BLAKE2B 8f463900db30ffd4850b270aac0ae8c160af36a606e4eddaadbd2a0c086de3438a36665586e20a4b6b8873f8b659f2ecd3e32965a36118a6e63fad2726afa0f5 SHA512 14f7d51ba407589eb4ef1db8a99c21c301198e8cb2fcdf611c76eebd1d52192eb1225bb5d45a2183fbfe103a0b987f3a95c6c5fe6d772ba101da9ed46441441f
26 -DIST rails-6.0.4.7.tgz 18596833 BLAKE2B a376bed4a0531147bbeb2c147e6067657313b5e0ffc713b18d07037177eaeeade1516197533b022afd9b0b03a1f2ed130b85600af3ea7d53a7d932db1e6f4342 SHA512 e4220411ed28b2e28002820281923b45d90454ef59a57b57c98bad5e185d39b2af75609e7786566135b5e1b197544cc039ad81df1a663eeebfa10728ae2904d1
27 DIST rails-6.0.4.8.tgz 18574385 BLAKE2B be6ea79fa452831e1c17ed550f875500c4b00ebf04223335abe8b1e42738f96e6d62ded24913501042a165833235082fde8865cc451dc322a4d7365f9fd6f1b9 SHA512 da48a68029014102e00837a1817d573f293b341716c2ae17fa12f15910a97fcd28ef8b53cb539cc1c029c9916002071485aeddb0e9c6b42aa8d24feeadd5970c
28 DIST rails-6.0.5.tgz 18572922 BLAKE2B cc7f3669f5d501031ea5bfcef24db89040dc447923abe255b4ae504c07c648414a19a5d2c7ecb513cb96cf601440caeb2462c37fdae61770cef60ce5708abcb4 SHA512 5f262f65de2e3057b92fdb95bef28ea8c4c44e5ca27f4065bb4946a760b3f97fde10f9a303ccf1fdbf833f1e26db5cde722183f41672614203c4b08aef6780ed
29 DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c51043c63672397eb6980a97c9c0c4e6b0679393c3d8ded690ab44ea53b7abd49817f46ca9f8ab3472dec2f3c3 SHA512 8061f2103ad9266f06f902cf7f05b3f94b05d9b454d314d7a7febea2e5e464c5f33d14f48a2a098e7e666a6dc8cd5c5dae4cf4fb669eca28303a4fb5e6832039
30
31 diff --git a/dev-ruby/activerecord/activerecord-6.0.4.4.ebuild b/dev-ruby/activerecord/activerecord-6.0.4.4.ebuild
32 deleted file mode 100644
33 index adc29bbec73e..000000000000
34 --- a/dev-ruby/activerecord/activerecord-6.0.4.4.ebuild
35 +++ /dev/null
36 @@ -1,88 +0,0 @@
37 -# Copyright 1999-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -USE_RUBY="ruby26 ruby27"
42 -
43 -# this is not null so that the dependencies will actually be filled
44 -RUBY_FAKEGEM_TASK_TEST="test"
45 -
46 -RUBY_FAKEGEM_RECIPE_DOC="none"
47 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
48 -
49 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
50 -
51 -RUBY_FAKEGEM_BINWRAP=""
52 -
53 -inherit ruby-fakegem
54 -
55 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
56 -HOMEPAGE="https://github.com/rails/rails/"
57 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
58 -
59 -LICENSE="MIT"
60 -SLOT="$(ver_cut 1-2)"
61 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
62 -IUSE="mysql postgres sqlite"
63 -
64 -RUBY_S="rails-${PV}/${PN}"
65 -
66 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
67 - ~dev-ruby/activemodel-${PV}
68 - sqlite? ( >=dev-ruby/sqlite3-1.4 )
69 - mysql? ( dev-ruby/mysql2:0.5 )
70 - postgres? ( dev-ruby/pg:1 )"
71 -
72 -ruby_add_bdepend "
73 - test? (
74 - dev-ruby/bundler
75 - ~dev-ruby/actionpack-${PV}
76 - >=dev-ruby/sqlite3-1.4.0
77 - dev-ruby/mocha
78 - dev-ruby/minitest:5
79 - )"
80 -
81 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
82 -
83 -all_ruby_prepare() {
84 - # Remove items from the common Gemfile that we don't need for this
85 - # test run. This also requires handling some gemspecs.
86 - rm ../Gemfile.lock || die
87 - sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
88 - -e '/:job/,/end/ s:^:#:' \
89 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
90 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
91 - sed -e '/bcrypt/ s/3.0.0/3.0/' \
92 - -i ../Gemfile || die
93 -
94 - # Add back json in the Gemfile because we dropped some dependencies
95 - # earlier that implicitly required it.
96 - sed -i -e '$agem "json"' ../Gemfile || die
97 -
98 - sed -i -e '2igem "railties", "~> 6.0.0"; gem "activemodel", "~> 6.0.0"' test/cases/helper.rb || die
99 -
100 - # Avoid test depending on mysql adapter which we don't support for
101 - # this Rails version to simplify our dependencies.
102 - rm test/cases/connection_specification/resolver_test.rb || die
103 -
104 - # Avoid single tests using mysql or postgres dependencies.
105 - rm test/cases/invalid_connection_test.rb || die
106 - sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
107 - -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die
108 -
109 - # Avoid failing test that makes bad assumptions on database state.
110 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
111 - test/cases/associations/has_many_associations_test.rb
112 -
113 - # Avoid test failing to bind limit length in favor of security release
114 - sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
115 -
116 - # Avoid test failing related to rubygems
117 - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
118 -}
119 -
120 -each_ruby_test() {
121 - if use sqlite; then
122 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
123 - fi
124 -}
125
126 diff --git a/dev-ruby/activerecord/activerecord-6.0.4.7.ebuild b/dev-ruby/activerecord/activerecord-6.0.4.7.ebuild
127 deleted file mode 100644
128 index dea3e73927bc..000000000000
129 --- a/dev-ruby/activerecord/activerecord-6.0.4.7.ebuild
130 +++ /dev/null
131 @@ -1,91 +0,0 @@
132 -# Copyright 1999-2022 Gentoo Authors
133 -# Distributed under the terms of the GNU General Public License v2
134 -
135 -EAPI=7
136 -USE_RUBY="ruby26 ruby27"
137 -
138 -# this is not null so that the dependencies will actually be filled
139 -RUBY_FAKEGEM_TASK_TEST="test"
140 -
141 -RUBY_FAKEGEM_RECIPE_DOC="none"
142 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
143 -
144 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
145 -
146 -RUBY_FAKEGEM_BINWRAP=""
147 -
148 -inherit ruby-fakegem
149 -
150 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
151 -HOMEPAGE="https://github.com/rails/rails/"
152 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
153 -
154 -LICENSE="MIT"
155 -SLOT="$(ver_cut 1-2)"
156 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
157 -IUSE="mysql postgres sqlite"
158 -
159 -RUBY_S="rails-${PV}/${PN}"
160 -
161 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
162 - ~dev-ruby/activemodel-${PV}
163 - sqlite? ( >=dev-ruby/sqlite3-1.4 )
164 - mysql? ( dev-ruby/mysql2:0.5 )
165 - postgres? ( dev-ruby/pg:1 )"
166 -
167 -ruby_add_bdepend "
168 - test? (
169 - dev-ruby/bundler
170 - ~dev-ruby/actionpack-${PV}
171 - >=dev-ruby/sqlite3-1.4.0
172 - dev-ruby/mocha
173 - dev-ruby/minitest:5
174 - )"
175 -
176 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
177 -
178 -all_ruby_prepare() {
179 - # Remove items from the common Gemfile that we don't need for this
180 - # test run. This also requires handling some gemspecs.
181 - rm ../Gemfile.lock || die
182 - sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|execjs\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\|sprockets\|stackprof\)/ s:^:#:" \
183 - -e '/:job/,/end/ s:^:#:' \
184 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
185 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
186 - sed -e '/bcrypt/ s/3.0.0/3.0/' \
187 - -i ../Gemfile || die
188 -
189 - # Add back json in the Gemfile because we dropped some dependencies
190 - # earlier that implicitly required it.
191 - sed -i -e '$agem "json"' ../Gemfile || die
192 -
193 - sed -i -e '2igem "railties", "~> 6.0.0"; gem "activemodel", "~> 6.0.0"; gem "psych", "~> 3.0"' test/cases/helper.rb || die
194 -
195 - # Avoid test depending on mysql adapter which we don't support for
196 - # this Rails version to simplify our dependencies.
197 - rm test/cases/connection_specification/resolver_test.rb || die
198 -
199 - # Avoid single tests using mysql or postgres dependencies.
200 - rm test/cases/invalid_connection_test.rb || die
201 - sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
202 - -i test/cases/connection_adapters/connection_handlers_multi_db_test.rb || die
203 -
204 - # Avoid failing test that makes bad assumptions on database state.
205 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
206 - test/cases/associations/has_many_associations_test.rb
207 -
208 - # Avoid test failing to bind limit length in favor of security release
209 - sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
210 -
211 - # Avoid test failing related to rubygems
212 - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems activation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
213 -
214 - # Avoid test failing due to sqlite EXPLAIN changes
215 - rm -f test/cases/adapters/sqlite3/explain_test.rb || die
216 -}
217 -
218 -each_ruby_test() {
219 - if use sqlite; then
220 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
221 - fi
222 -}