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, 20 Feb 2022 08:16:36
Message-Id: 1645344915.ed98fceb0ba75b4e423ab80f7f99413a6027ef56.graaff@gentoo
1 commit: ed98fceb0ba75b4e423ab80f7f99413a6027ef56
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 08:15:15 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 08:15:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed98fceb
7
8 dev-ruby/activerecord: 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/activerecord/Manifest | 2 -
14 dev-ruby/activerecord/activerecord-6.1.4.1.ebuild | 83 -----------------------
15 dev-ruby/activerecord/activerecord-6.1.4.3.ebuild | 83 -----------------------
16 3 files changed, 168 deletions(-)
17
18 diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
19 index 8487dffe23df..50fbf4e06ce6 100644
20 --- a/dev-ruby/activerecord/Manifest
21 +++ b/dev-ruby/activerecord/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/activerecord/activerecord-6.1.4.1.ebuild b/dev-ruby/activerecord/activerecord-6.1.4.1.ebuild
32 deleted file mode 100644
33 index 8714a9a790c5..000000000000
34 --- a/dev-ruby/activerecord/activerecord-6.1.4.1.ebuild
35 +++ /dev/null
36 @@ -1,83 +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 ~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.1: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 - 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-6.1.4.3.ebuild b/dev-ruby/activerecord/activerecord-6.1.4.3.ebuild
122 deleted file mode 100644
123 index ba0d4e0cb302..000000000000
124 --- a/dev-ruby/activerecord/activerecord-6.1.4.3.ebuild
125 +++ /dev/null
126 @@ -1,83 +0,0 @@
127 -# Copyright 1999-2021 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=8
131 -USE_RUBY="ruby26 ruby27"
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 ~hppa ~ppc ~ppc64 ~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/bundler
165 - ~dev-ruby/actionpack-${PV}
166 - >=dev-ruby/sqlite3-1.4.0
167 - dev-ruby/mocha
168 - dev-ruby/minitest:5
169 - )"
170 -
171 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
172 -
173 -all_ruby_prepare() {
174 - # Remove items from the common Gemfile that we don't need for this
175 - # test run. This also requires handling some gemspecs.
176 - rm ../Gemfile.lock || die
177 - 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:^:#:" \
178 - -e '/:job/,/end/ s:^:#:' \
179 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
180 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
181 - sed -e '/bcrypt/ s/3.0.0/3.0/' \
182 - -i ../Gemfile || die
183 - sed -i -e '/byebug/ s:^:#:' test/cases/base_prevent_writes_test.rb || die
184 -
185 - # Add back json in the Gemfile because we dropped some dependencies
186 - # earlier that implicitly required it.
187 - sed -i -e '$agem "json"' ../Gemfile || die
188 -
189 - # Avoid single tests using mysql or postgres dependencies.
190 - rm test/cases/invalid_connection_test.rb || die
191 - sed -e '/test_switching_connections_with_database_url/askip "postgres"' \
192 - -i test/cases/connection_adapters/{,legacy_}connection_handlers_multi_db_test.rb || die
193 -
194 - # Avoid failing test that makes bad assumptions on database state.
195 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
196 - test/cases/associations/has_many_associations_test.rb
197 -
198 - # Avoid test failing to bind limit length in favor of security release
199 - sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die
200 -
201 - # Avoid test failing related to rubygems
202 - sed -i -e '/test_generates_absolute_path_with_given_root/askip "rubygems actiovation monitor"' test/cases/tasks/sqlite_rake_test.rb || die
203 -}
204 -
205 -each_ruby_test() {
206 - if use sqlite; then
207 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
208 - fi
209 -}