1 |
commit: 251c7aea8e1225023a5b4e46d5b845dba1f23e0f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 29 06:25:17 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 29 06:25:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251c7aea |
7 |
|
8 |
dev-ruby/activerecord: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/activerecord/Manifest | 2 - |
14 |
dev-ruby/activerecord/activerecord-6.0.3.7.ebuild | 88 ----------------------- |
15 |
dev-ruby/activerecord/activerecord-6.0.4.ebuild | 88 ----------------------- |
16 |
3 files changed, 178 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest |
19 |
index c4787cee754..fd444a73d23 100644 |
20 |
--- a/dev-ruby/activerecord/Manifest |
21 |
+++ b/dev-ruby/activerecord/Manifest |
22 |
@@ -1,7 +1,5 @@ |
23 |
DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b SHA512 465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7 |
24 |
-DIST rails-6.0.3.7.tgz 18570545 BLAKE2B 6433705f18075e286d14d25dd87def61a3ac9c7a8fc5160f37b9a6f6ab0d7f36a7235602713888df45e55cf4afb56f922c476989304397d422016dc34f147353 SHA512 91612223c9461731741c056a700879ce274a177737fd19ed6341ce07acfa4e4862728ef12bfa1a70cdb3e5c8492ad0da6aae2e7d0ed5ad32d680d8bd8c3ab102 |
25 |
DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd SHA512 322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975 |
26 |
-DIST rails-6.0.4.tgz 18594882 BLAKE2B e24ede90a572bc5ebd8244f45b987a62d50080af38e7e8b1689b9af88b66e194c0c3859e35ec2efbd306fc0c2f62a9d8aaa669fb73ddedd940c23aabc2719c2e SHA512 5a9a050ea44716cf72985643098a08716d191fe08d2cf4404fdf80709340c68d4ca083929c7118dad2532cc64a96c28e5dee3ac9541c10745d0f9d0583eda685 |
27 |
DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672 |
28 |
DIST rails-6.1.4.1.tgz 11003728 BLAKE2B 8baa45968536ebe34f3bc4e4f25246bff68997a88c1019d1f7b7ba73785bc11901d7222ac04866b900c7dc35f9291ede78c0949abd979e797d07f3759179c05a SHA512 411d3fe21c7500e884edb86cc6728c4d3b7125d2e6ea913191437716f2be0d522252c55c25cb4c5221cc112b3ca5eeba690b0b0e59572fcc54ea42ba05ec4520 |
29 |
DIST rails-6.1.4.tgz 11003156 BLAKE2B a0068d221da9c2b3be73f45b84ca1c1c926dfab5b759364d25428291624be31dd664faff32930ec59d5902682950895e6a5b40bcaf6106ad274622741b8f316c SHA512 e88781c690b00441fda0d50514b3ce1dde2ba4c5b93c775a6f77d50bd9aa736631c4d8b1ca6f5d0e270b8ebe902f7945823df7d0d7513881fa6b35c03bcf388f |
30 |
|
31 |
diff --git a/dev-ruby/activerecord/activerecord-6.0.3.7.ebuild b/dev-ruby/activerecord/activerecord-6.0.3.7.ebuild |
32 |
deleted file mode 100644 |
33 |
index d0489094f85..00000000000 |
34 |
--- a/dev-ruby/activerecord/activerecord-6.0.3.7.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,88 +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 |
-USE_RUBY="ruby25 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 ~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.ebuild b/dev-ruby/activerecord/activerecord-6.0.4.ebuild |
127 |
deleted file mode 100644 |
128 |
index d0489094f85..00000000000 |
129 |
--- a/dev-ruby/activerecord/activerecord-6.0.4.ebuild |
130 |
+++ /dev/null |
131 |
@@ -1,88 +0,0 @@ |
132 |
-# Copyright 1999-2021 Gentoo Authors |
133 |
-# Distributed under the terms of the GNU General Public License v2 |
134 |
- |
135 |
-EAPI=7 |
136 |
-USE_RUBY="ruby25 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 ~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"' 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 actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die |
213 |
-} |
214 |
- |
215 |
-each_ruby_test() { |
216 |
- if use sqlite; then |
217 |
- ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" |
218 |
- fi |
219 |
-} |