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 07:07:43
Message-Id: 1653808053.5b2b26759ffc2178c9e44821f5c3957e0d066780.graaff@gentoo
1 commit: 5b2b26759ffc2178c9e44821f5c3957e0d066780
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 07:06:00 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 07:07:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2b2675
7
8 dev-ruby/activerecord: drop 7.0.2.2, 7.0.2.3
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/activerecord/Manifest | 2 -
13 dev-ruby/activerecord/activerecord-7.0.2.2.ebuild | 84 -----------------------
14 dev-ruby/activerecord/activerecord-7.0.2.3.ebuild | 84 -----------------------
15 3 files changed, 170 deletions(-)
16
17 diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
18 index 2ca4cdbed1ae..dd37b99ea4be 100644
19 --- a/dev-ruby/activerecord/Manifest
20 +++ b/dev-ruby/activerecord/Manifest
21 @@ -9,7 +9,5 @@ DIST rails-6.0.5.tgz 18572922 BLAKE2B cc7f3669f5d501031ea5bfcef24db89040dc447923
22 DIST rails-6.1.5.1.tgz 10993257 BLAKE2B 90146d33fcad068a09bc61c09417514f2ccc18c51043c63672397eb6980a97c9c0c4e6b0679393c3d8ded690ab44ea53b7abd49817f46ca9f8ab3472dec2f3c3 SHA512 8061f2103ad9266f06f902cf7f05b3f94b05d9b454d314d7a7febea2e5e464c5f33d14f48a2a098e7e666a6dc8cd5c5dae4cf4fb669eca28303a4fb5e6832039
23 DIST rails-6.1.5.tgz 11017020 BLAKE2B 5e1a167550998f8149ac770397f4e39a979f48365494f97d4b387559070e4e9264ddc93bf20e5c19537b4683a793a2c316bcb3f829cc05f0155b31a609da6756 SHA512 a90fe7781ddbb6a035ea7dcb950e2ab03a7297502891d4a88dfe7c3ef90b78d8009ea62a35272d3500e8819466042b883193ebb030683fc2cf7e5dc0e720edb1
24 DIST rails-6.1.6.tgz 10993299 BLAKE2B 98a80cbefc1aafba68a22b60d3df6b81ab1e8247a75a07131aeed97ae621ea45b22918482537255547b68a5fc6b002f551b8b94492da3b1e6e24389a109e245c SHA512 04c578f6d8bdcd72691c8d4e51136424f2241a374cdfad1c3c2b436a4f5fde1955a600bcb98c6f416e22e1e561cd50f9ca5f5075deff94f258f8682dc9b00c1c
25 -DIST rails-7.0.2.2.tgz 11034626 BLAKE2B 388a27b5434f1ae062cb7c3a68881a885dd659dbd9e86c4d36e0cb29c493f127fb9cbdf0f9ce7dea5a715ddbcd7a3bff5e2de3adb2e278c8bf63c2473d1e4b6d SHA512 e7863f1e072d266b8df1abb8abf6b141bad74ef77fe5dbcd66e7603e2ebf386520e4fd8f337edb5f5a6bd5607fbaa146823cbe6980fd7864e3934a7c9d382e3d
26 -DIST rails-7.0.2.3.tgz 11037677 BLAKE2B b4d0ac3d2c56d262beca4f5ba1659a67526c01321dc00ef8392a11c6fbc7614e3c02cf02ffcbb5ed1911005c1be0c0741e225f45c5946fc9102629c5ba5d32ab SHA512 4dcbe65ce1bad803dd04be61918f1ca893529705a8336a0c09b0193eb453319fc42ed0e2dca6ff5cb56f0c2bc5ab03c9d9f479101904ad1a746980cd887798d4
27 DIST rails-7.0.2.4.tgz 11014591 BLAKE2B 4a678dddca134769a40d73a6652a6aa273456288c19ddbe7611ae40a14860abf77226ab351ead92647fb471751521377c51cafae40383198ff3d3477bc257b55 SHA512 948cf58dd6ac517fb4b1e63c3a1dbfcf2405fd224ea150cb92f5805939d3a458ad26e139b1c6069cc587c01f15694be14e119ee56769a611e6b6eaa0eae5a68c
28 DIST rails-7.0.3.tgz 11021571 BLAKE2B 00385233279a773221ae8a1e75354d404d033206089323c53c0e81a134941151aab4578218438dd4193b2c00a0cd4ef1eb6a758502a51d403bddb11915ed9eb7 SHA512 366eaae24b0e147c9e33179c10c0a22f7c7671551222e329120749f04077bd344fabf55e90af041322787bf3063add927c7fd34758ae8764e00f8d8edba388ef
29
30 diff --git a/dev-ruby/activerecord/activerecord-7.0.2.2.ebuild b/dev-ruby/activerecord/activerecord-7.0.2.2.ebuild
31 deleted file mode 100644
32 index 47d013e257ae..000000000000
33 --- a/dev-ruby/activerecord/activerecord-7.0.2.2.ebuild
34 +++ /dev/null
35 @@ -1,84 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -USE_RUBY="ruby27"
41 -
42 -# this is not null so that the dependencies will actually be filled
43 -RUBY_FAKEGEM_TASK_TEST="test"
44 -
45 -RUBY_FAKEGEM_RECIPE_DOC="none"
46 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
47 -
48 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
49 -
50 -RUBY_FAKEGEM_BINWRAP=""
51 -
52 -inherit ruby-fakegem
53 -
54 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
55 -HOMEPAGE="https://github.com/rails/rails/"
56 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
57 -
58 -LICENSE="MIT"
59 -SLOT="$(ver_cut 1-2)"
60 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86"
61 -IUSE="mysql postgres sqlite"
62 -
63 -RUBY_S="rails-${PV}/${PN}"
64 -
65 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
66 - ~dev-ruby/activemodel-${PV}
67 - sqlite? ( >=dev-ruby/sqlite3-1.4 )
68 - mysql? ( dev-ruby/mysql2:0.5 )
69 - postgres? ( >=dev-ruby/pg-1.1:1 )"
70 -
71 -ruby_add_bdepend "
72 - test? (
73 - dev-ruby/benchmark-ips
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 - sed -i -e '/byebug/ s:^:#:' test/cases/base_prevent_writes_test.rb || die
94 -
95 - # Add back json in the Gemfile because we dropped some dependencies
96 - # earlier that implicitly required it.
97 - sed -i -e '$agem "json"' ../Gemfile || die
98 -
99 - # Avoid single tests using mysql or postgres dependencies.
100 - rm test/cases/invalid_connection_test.rb || die
101 - sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
102 - -i test/cases/connection_adapters/{,legacy_}connection_handlers_multi_db_test.rb || die
103 -
104 - # Avoid failing test that makes bad assumptions on database state.
105 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
106 - test/cases/associations/has_many_associations_test.rb
107 -
108 - # Avoid test failing to bind limit length in favor of security release
109 - sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
110 -
111 - # Avoid test failing related to rubygems
112 - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
113 -}
114 -
115 -each_ruby_test() {
116 - if use sqlite; then
117 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
118 - fi
119 -}
120
121 diff --git a/dev-ruby/activerecord/activerecord-7.0.2.3.ebuild b/dev-ruby/activerecord/activerecord-7.0.2.3.ebuild
122 deleted file mode 100644
123 index f59c119d4b8c..000000000000
124 --- a/dev-ruby/activerecord/activerecord-7.0.2.3.ebuild
125 +++ /dev/null
126 @@ -1,84 +0,0 @@
127 -# Copyright 1999-2022 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=8
131 -USE_RUBY="ruby27 ruby30"
132 -
133 -# this is not null so that the dependencies will actually be filled
134 -RUBY_FAKEGEM_TASK_TEST="test"
135 -
136 -RUBY_FAKEGEM_RECIPE_DOC="none"
137 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
138 -
139 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
140 -
141 -RUBY_FAKEGEM_BINWRAP=""
142 -
143 -inherit ruby-fakegem
144 -
145 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
146 -HOMEPAGE="https://github.com/rails/rails/"
147 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
148 -
149 -LICENSE="MIT"
150 -SLOT="$(ver_cut 1-2)"
151 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86"
152 -IUSE="mysql postgres sqlite"
153 -
154 -RUBY_S="rails-${PV}/${PN}"
155 -
156 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
157 - ~dev-ruby/activemodel-${PV}
158 - sqlite? ( >=dev-ruby/sqlite3-1.4 )
159 - mysql? ( dev-ruby/mysql2:0.5 )
160 - postgres? ( >=dev-ruby/pg-1.1:1 )"
161 -
162 -ruby_add_bdepend "
163 - test? (
164 - dev-ruby/benchmark-ips
165 - dev-ruby/bundler
166 - ~dev-ruby/actionpack-${PV}
167 - >=dev-ruby/sqlite3-1.4.0
168 - dev-ruby/mocha
169 - dev-ruby/minitest:5
170 - )"
171 -
172 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
173 -
174 -all_ruby_prepare() {
175 - # Remove items from the common Gemfile that we don't need for this
176 - # test run. This also requires handling some gemspecs.
177 - rm ../Gemfile.lock || die
178 - 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:^:#:" \
179 - -e '/:job/,/end/ s:^:#:' \
180 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
181 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
182 - sed -e '/bcrypt/ s/3.0.0/3.0/' \
183 - -i ../Gemfile || die
184 - sed -i -e '/byebug/ s:^:#:' test/cases/base_prevent_writes_test.rb || die
185 -
186 - # Add back json in the Gemfile because we dropped some dependencies
187 - # earlier that implicitly required it.
188 - sed -i -e '$agem "json"' ../Gemfile || die
189 -
190 - # Avoid single tests using mysql or postgres dependencies.
191 - rm test/cases/invalid_connection_test.rb || die
192 - sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
193 - -i test/cases/connection_adapters/{,legacy_}connection_handlers_multi_db_test.rb || die
194 -
195 - # Avoid failing test that makes bad assumptions on database state.
196 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
197 - test/cases/associations/has_many_associations_test.rb
198 -
199 - # Avoid test failing to bind limit length in favor of security release
200 - sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
201 -
202 - # Avoid test failing related to rubygems
203 - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
204 -}
205 -
206 -each_ruby_test() {
207 - if use sqlite; then
208 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
209 - fi
210 -}