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: Mon, 18 Feb 2019 19:06:41
Message-Id: 1550516773.7459c32d9bc2af3fbbb1bb69084cb8678e02b78d.graaff@gentoo
1 commit: 7459c32d9bc2af3fbbb1bb69084cb8678e02b78d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 18 18:55:17 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 18 19:06:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7459c32d
7
8 dev-ruby/activerecord: cleanup
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ruby/activerecord/Manifest | 3 -
14 dev-ruby/activerecord/activerecord-5.2.0.ebuild | 79 -----------------------
15 dev-ruby/activerecord/activerecord-5.2.1.1.ebuild | 79 -----------------------
16 dev-ruby/activerecord/activerecord-5.2.1.ebuild | 79 -----------------------
17 4 files changed, 240 deletions(-)
18
19 diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
20 index f76abf38108..d297f866f9e 100644
21 --- a/dev-ruby/activerecord/Manifest
22 +++ b/dev-ruby/activerecord/Manifest
23 @@ -1,6 +1,3 @@
24 DIST rails-4.2.11.tgz 4080621 BLAKE2B 97f22f887255a1d8321d26040a9896cc87e0e7e50db208d3c0f96a74d926cfe9bb516641e06f7bfd92649b91427094f729d2d6b24df811ff0481c03950d3185b SHA512 df31ac9cff0b6b07113f6066b0459b40b7263356c40a722636091b75c7443691625153d8e2d7e01324e98321d757f67ba3b9318d4229a3c1a0cea5af65b6b470
25 DIST rails-5.1.6.1.tgz 6143808 BLAKE2B 40949c4598af98e177bab19aea809a724135a56aaec66bfdfd820412794f548da195597461d5bd7b6e07bf60a5b6aee330a0a5fdf90bc0b0361b94a80d0684b4 SHA512 118798424ba249c3a7eed3e7174ed4a25d2fb81b8f521e165b2aef995956da7c085084be3dad9961e57e67a685ec3d527c3bfa91730d1053951cdd81b7e511ff
26 -DIST rails-5.2.0.tgz 9233349 BLAKE2B 8b237f7b039baed6d2a3f19d138f5985443d8543247b01ba316668052fede66820894e3f5ef76a953a4bdb54febecb6299692899556ea029ebfcbcebbaba9409 SHA512 0d7fdbc05a69f7a7b5ce612c0ec8e5dcd51ffb63891d97ca08036d07b3fb3267699dd4a209fd698e5eb2ca8f6c7f4539e86044c3bd15d0c614feda16892d3d85
27 -DIST rails-5.2.1.1.tgz 8795521 BLAKE2B 93b30ba7b9127d2fc4dae6c7e7884f0a4ab36805b440c37ca8e2b81a5ba2b9ccaa4d30e65599cfb036befc4ec58942d3eba71ba9683becb535e8a822d3a8422e SHA512 bd2c13f06d524a03547341acee3422a58a306a1c33a896073648e4ddcac296a8e397bd73fd5928dae1e66ba3b4a42ac4ea5f0a7cca1f73b2e773b8ece24a76d0
28 -DIST rails-5.2.1.tgz 8795554 BLAKE2B 712fba696aeb8600dcd3b031b84a7ec164aa4d8ec386576ff367d5d45b3effd48515c9b8ef36ea93642776220685a1d8eec6909f705e62a80a06cf151fc42b43 SHA512 4484981845f9bba8882db6b4d1e0c4600b54baeda5cf1825fda7cbbb04cfdcf35e4caa19355cb843d1b96fc67801f28902d79d763dae71446db515691a32742e
29 DIST rails-5.2.2.tgz 8794009 BLAKE2B ee6af6990d6b3dc12171fa2a1baf0f975481dc31711ae2caed27b79d1c5b514d1959492c5cced5b0202b46fc18e4a8178703a91b5f1f65df4ea46f193e9d48d5 SHA512 ecca752baa52ee7f11ef21a919bbba370d9ca76a0b428305143e86ebabbd7218978cdeefc919bfb1c0e0e71fc555869dcf917bda219f89e7e41e17dfe983b792
30
31 diff --git a/dev-ruby/activerecord/activerecord-5.2.0.ebuild b/dev-ruby/activerecord/activerecord-5.2.0.ebuild
32 deleted file mode 100644
33 index 2c60934f38f..00000000000
34 --- a/dev-ruby/activerecord/activerecord-5.2.0.ebuild
35 +++ /dev/null
36 @@ -1,79 +0,0 @@
37 -# Copyright 1999-2018 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -USE_RUBY="ruby23 ruby24 ruby25"
42 -
43 -# this is not null so that the dependencies will actually be filled
44 -RUBY_FAKEGEM_TASK_TEST="test"
45 -
46 -RUBY_FAKEGEM_TASK_DOC=""
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 versionator
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="$(get_version_component_range 1-2)"
61 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
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 - dev-ruby/arel:9.0
69 - sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
70 - mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.18:0.3 ) )
71 - postgres? ( >=dev-ruby/pg-0.18.0:* )"
72 -
73 -ruby_add_bdepend "
74 - test? (
75 - dev-ruby/bundler
76 - ~dev-ruby/actionpack-${PV}
77 - ~dev-ruby/actionmailer-${PV}
78 - >=dev-ruby/sqlite3-1.3.6
79 - dev-ruby/mocha
80 - dev-ruby/minitest:5
81 - )"
82 -
83 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
84 -
85 -all_ruby_prepare() {
86 - # Remove items from the common Gemfile that we don't need for this
87 - # test run. This also requires handling some gemspecs.
88 - rm ../Gemfile.lock || die
89 - 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:^:#:" \
90 - -e '/:job/,/end/ s:^:#:' \
91 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
92 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
93 - sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || 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 test depending on mysql adapter which we don't support for
100 - # this Rails version to simplify our dependencies.
101 - rm test/cases/connection_specification/resolver_test.rb || die
102 -
103 - # Avoid single test using mysql dependencies.
104 - rm test/cases/invalid_connection_test.rb || die
105 -
106 - # Avoid failing test that makes bad assumptions on database state.
107 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
108 - test/cases/associations/has_many_associations_test.rb
109 -}
110 -
111 -each_ruby_test() {
112 - if use sqlite; then
113 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
114 - fi
115 -}
116
117 diff --git a/dev-ruby/activerecord/activerecord-5.2.1.1.ebuild b/dev-ruby/activerecord/activerecord-5.2.1.1.ebuild
118 deleted file mode 100644
119 index f278e7fcc6d..00000000000
120 --- a/dev-ruby/activerecord/activerecord-5.2.1.1.ebuild
121 +++ /dev/null
122 @@ -1,79 +0,0 @@
123 -# Copyright 1999-2018 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -USE_RUBY="ruby23 ruby24 ruby25"
128 -
129 -# this is not null so that the dependencies will actually be filled
130 -RUBY_FAKEGEM_TASK_TEST="test"
131 -
132 -RUBY_FAKEGEM_TASK_DOC=""
133 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
134 -
135 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
136 -
137 -RUBY_FAKEGEM_BINWRAP=""
138 -
139 -inherit ruby-fakegem eapi7-ver
140 -
141 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
142 -HOMEPAGE="https://github.com/rails/rails/"
143 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
144 -
145 -LICENSE="MIT"
146 -SLOT="$(ver_cut 1-2)"
147 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
148 -IUSE="mysql postgres sqlite"
149 -
150 -RUBY_S="rails-${PV}/${PN}"
151 -
152 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
153 - ~dev-ruby/activemodel-${PV}
154 - dev-ruby/arel:9.0
155 - sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
156 - mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.18:0.3 ) )
157 - postgres? ( >=dev-ruby/pg-0.18.0:* )"
158 -
159 -ruby_add_bdepend "
160 - test? (
161 - dev-ruby/bundler
162 - ~dev-ruby/actionpack-${PV}
163 - ~dev-ruby/actionmailer-${PV}
164 - >=dev-ruby/sqlite3-1.3.6
165 - dev-ruby/mocha
166 - dev-ruby/minitest:5
167 - )"
168 -
169 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
170 -
171 -all_ruby_prepare() {
172 - # Remove items from the common Gemfile that we don't need for this
173 - # test run. This also requires handling some gemspecs.
174 - rm ../Gemfile.lock || die
175 - 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:^:#:" \
176 - -e '/:job/,/end/ s:^:#:' \
177 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
178 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
179 - sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
180 -
181 - # Add back json in the Gemfile because we dropped some dependencies
182 - # earlier that implicitly required it.
183 - sed -i -e '$agem "json"' ../Gemfile || die
184 -
185 - # Avoid test depending on mysql adapter which we don't support for
186 - # this Rails version to simplify our dependencies.
187 - rm test/cases/connection_specification/resolver_test.rb || die
188 -
189 - # Avoid single test using mysql dependencies.
190 - rm test/cases/invalid_connection_test.rb || die
191 -
192 - # Avoid failing test that makes bad assumptions on database state.
193 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
194 - test/cases/associations/has_many_associations_test.rb
195 -}
196 -
197 -each_ruby_test() {
198 - if use sqlite; then
199 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
200 - fi
201 -}
202
203 diff --git a/dev-ruby/activerecord/activerecord-5.2.1.ebuild b/dev-ruby/activerecord/activerecord-5.2.1.ebuild
204 deleted file mode 100644
205 index 2f581e94178..00000000000
206 --- a/dev-ruby/activerecord/activerecord-5.2.1.ebuild
207 +++ /dev/null
208 @@ -1,79 +0,0 @@
209 -# Copyright 1999-2018 Gentoo Foundation
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=6
213 -USE_RUBY="ruby23 ruby24 ruby25"
214 -
215 -# this is not null so that the dependencies will actually be filled
216 -RUBY_FAKEGEM_TASK_TEST="test"
217 -
218 -RUBY_FAKEGEM_TASK_DOC=""
219 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
220 -
221 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
222 -
223 -RUBY_FAKEGEM_BINWRAP=""
224 -
225 -inherit ruby-fakegem eapi7-ver
226 -
227 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
228 -HOMEPAGE="https://github.com/rails/rails/"
229 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
230 -
231 -LICENSE="MIT"
232 -SLOT="$(ver_cut 1-2)"
233 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
234 -IUSE="mysql postgres sqlite"
235 -
236 -RUBY_S="rails-${PV}/${PN}"
237 -
238 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
239 - ~dev-ruby/activemodel-${PV}
240 - dev-ruby/arel:9.0
241 - sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
242 - mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.18:0.3 ) )
243 - postgres? ( >=dev-ruby/pg-0.18.0:* )"
244 -
245 -ruby_add_bdepend "
246 - test? (
247 - dev-ruby/bundler
248 - ~dev-ruby/actionpack-${PV}
249 - ~dev-ruby/actionmailer-${PV}
250 - >=dev-ruby/sqlite3-1.3.6
251 - dev-ruby/mocha
252 - dev-ruby/minitest:5
253 - )"
254 -
255 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
256 -
257 -all_ruby_prepare() {
258 - # Remove items from the common Gemfile that we don't need for this
259 - # test run. This also requires handling some gemspecs.
260 - rm ../Gemfile.lock || die
261 - 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:^:#:" \
262 - -e '/:job/,/end/ s:^:#:' \
263 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
264 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
265 - sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
266 -
267 - # Add back json in the Gemfile because we dropped some dependencies
268 - # earlier that implicitly required it.
269 - sed -i -e '$agem "json"' ../Gemfile || die
270 -
271 - # Avoid test depending on mysql adapter which we don't support for
272 - # this Rails version to simplify our dependencies.
273 - rm test/cases/connection_specification/resolver_test.rb || die
274 -
275 - # Avoid single test using mysql dependencies.
276 - rm test/cases/invalid_connection_test.rb || die
277 -
278 - # Avoid failing test that makes bad assumptions on database state.
279 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
280 - test/cases/associations/has_many_associations_test.rb
281 -}
282 -
283 -each_ruby_test() {
284 - if use sqlite; then
285 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
286 - fi
287 -}