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: Sat, 01 Dec 2018 09:44:29
Message-Id: 1543656803.cace9081b8a582015df5b6ecc41f74777663a85b.graaff@gentoo
1 commit: cace9081b8a582015df5b6ecc41f74777663a85b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 1 09:33:23 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 1 09:33:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cace9081
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 | 2 -
14 dev-ruby/activerecord/activerecord-5.1.4.ebuild | 79 -------------------------
15 dev-ruby/activerecord/activerecord-5.1.5.ebuild | 79 -------------------------
16 3 files changed, 160 deletions(-)
17
18 diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
19 index 8bdf41952ee..9e6c256bb7e 100644
20 --- a/dev-ruby/activerecord/Manifest
21 +++ b/dev-ruby/activerecord/Manifest
22 @@ -1,8 +1,6 @@
23 DIST rails-4.2.10.tgz 4080905 BLAKE2B 5a46ed9e3664a65545a709577b49864e14cecfc89c798facc0412b4da2842dfb86a611f1fd0ce50da6a40c81a19d3cdce0688b40ad92180ce8ababa5f38d23cc SHA512 c1331638326960c6df9000a2383ad1905d5e794fddddfdc7422cfa2ff89039e3c0e272a79fa43423d5ae0e56436eceb22b8276e6a8bce7eb765da33f02742318
24 DIST rails-4.2.11.tgz 4080621 BLAKE2B 97f22f887255a1d8321d26040a9896cc87e0e7e50db208d3c0f96a74d926cfe9bb516641e06f7bfd92649b91427094f729d2d6b24df811ff0481c03950d3185b SHA512 df31ac9cff0b6b07113f6066b0459b40b7263356c40a722636091b75c7443691625153d8e2d7e01324e98321d757f67ba3b9318d4229a3c1a0cea5af65b6b470
25 DIST rails-5.0.7.tgz 6051560 BLAKE2B d5090b2e6c3fb9b7ca460c7439a94d6633ab7bad3cef42ab23851b0127d6b8cf6a34eb3b967c7c9b7ba5bd1d10e483f4c76a60fc06772d567a258b237a449fe6 SHA512 c3f1b882f4679967597c7ecfa3469e8f1dc52f618d26324b292bcd0ed8c854ec93a7570e12cab8becfb9a7ce04bb7e08f9ad353d35f8cfb954bc2144bf093e55
26 -DIST rails-5.1.4.tgz 6132874 BLAKE2B ec5642b860b7c18cea2c56aa5e2a652e28ab08d39c5863dc4ee66fd3caf375e55706e4317ecae5bfc5581922cf1549c38c22529d2e44a98c84cde332491e49cc SHA512 8f0837e0a2c5b0189375f10310a6e6b43e32f1fecc503582efc6490436c943e774495262e508e4ca1a1874132ae6e4a541e81c06f0d8f6fe8ab85bd2fd10d4fc
27 -DIST rails-5.1.5.tgz 6142269 BLAKE2B e31b6fb39df4a5cbfa9acd31058b018f5eb8d45d0886d9cb1de5d7de9ed082b67f27d257ac8eeffb0a2663466bc958c72d63309f0a68989d189a11510e835e3e SHA512 8fde1b043976c6bd69235ccbfc1f4ab593fa0cb7ec0dc0cbafcbd2727dfd1b405cc6131e41cc40871bc893cc64f524a347dd91efd1816b724deb5ca1cf879c63
28 DIST rails-5.1.6.1.tgz 6143808 BLAKE2B 40949c4598af98e177bab19aea809a724135a56aaec66bfdfd820412794f548da195597461d5bd7b6e07bf60a5b6aee330a0a5fdf90bc0b0361b94a80d0684b4 SHA512 118798424ba249c3a7eed3e7174ed4a25d2fb81b8f521e165b2aef995956da7c085084be3dad9961e57e67a685ec3d527c3bfa91730d1053951cdd81b7e511ff
29 DIST rails-5.1.6.tgz 6142931 BLAKE2B 0c24677946c3421e73903214822a13cb26609a3c7e7826020b76a48809a8672c1dfb05d1bd362fab956a397636db5e691a91bdea64ee6073190e8663fb58a7df SHA512 1ad70fb57af753bb6aff27345021af97d177aed95e295273044d8ef5723aa6b64fc03104d2cbd1cc5337127f71b3eef9b19fa582f4d53cb746ed9b152a8392bb
30 DIST rails-5.2.0.tgz 9233349 BLAKE2B 8b237f7b039baed6d2a3f19d138f5985443d8543247b01ba316668052fede66820894e3f5ef76a953a4bdb54febecb6299692899556ea029ebfcbcebbaba9409 SHA512 0d7fdbc05a69f7a7b5ce612c0ec8e5dcd51ffb63891d97ca08036d07b3fb3267699dd4a209fd698e5eb2ca8f6c7f4539e86044c3bd15d0c614feda16892d3d85
31
32 diff --git a/dev-ruby/activerecord/activerecord-5.1.4.ebuild b/dev-ruby/activerecord/activerecord-5.1.4.ebuild
33 deleted file mode 100644
34 index cf6edd4bce8..00000000000
35 --- a/dev-ruby/activerecord/activerecord-5.1.4.ebuild
36 +++ /dev/null
37 @@ -1,79 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -USE_RUBY="ruby22 ruby23 ruby24"
43 -
44 -# this is not null so that the dependencies will actually be filled
45 -RUBY_FAKEGEM_TASK_TEST="test"
46 -
47 -RUBY_FAKEGEM_TASK_DOC=""
48 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
49 -
50 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
51 -
52 -RUBY_FAKEGEM_BINWRAP=""
53 -
54 -inherit ruby-fakegem versionator
55 -
56 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
57 -HOMEPAGE="https://github.com/rails/rails/"
58 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
59 -
60 -LICENSE="MIT"
61 -SLOT="$(get_version_component_range 1-2)"
62 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
63 -IUSE="mysql postgres sqlite"
64 -
65 -RUBY_S="rails-${PV}/${PN}"
66 -
67 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
68 - ~dev-ruby/activemodel-${PV}
69 - dev-ruby/arel:8.0
70 - sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
71 - mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.18:0.3 ) )
72 - postgres? ( >=dev-ruby/pg-0.18.0 )"
73 -
74 -ruby_add_bdepend "
75 - test? (
76 - dev-ruby/bundler
77 - ~dev-ruby/actionpack-${PV}
78 - ~dev-ruby/actionmailer-${PV}
79 - >=dev-ruby/sqlite3-1.3.6
80 - dev-ruby/mocha:0.14
81 - dev-ruby/minitest:5
82 - )"
83 -
84 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
85 -
86 -all_ruby_prepare() {
87 - # Remove items from the common Gemfile that we don't need for this
88 - # test run. This also requires handling some gemspecs.
89 - rm ../Gemfile.lock || die
90 - 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:^:#:" \
91 - -e '/:job/,/end/ s:^:#:' \
92 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
93 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
94 - sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
95 -
96 - # Add back json in the Gemfile because we dropped some dependencies
97 - # earlier that implicitly required it.
98 - sed -i -e '$agem "json"' ../Gemfile || 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 test using mysql dependencies.
105 - rm test/cases/invalid_connection_test.rb || die
106 -
107 - # Avoid failing test that makes bad assumptions on database state.
108 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
109 - test/cases/associations/has_many_associations_test.rb
110 -}
111 -
112 -each_ruby_test() {
113 - if use sqlite; then
114 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
115 - fi
116 -}
117
118 diff --git a/dev-ruby/activerecord/activerecord-5.1.5.ebuild b/dev-ruby/activerecord/activerecord-5.1.5.ebuild
119 deleted file mode 100644
120 index cf6edd4bce8..00000000000
121 --- a/dev-ruby/activerecord/activerecord-5.1.5.ebuild
122 +++ /dev/null
123 @@ -1,79 +0,0 @@
124 -# Copyright 1999-2018 Gentoo Foundation
125 -# Distributed under the terms of the GNU General Public License v2
126 -
127 -EAPI=6
128 -USE_RUBY="ruby22 ruby23 ruby24"
129 -
130 -# this is not null so that the dependencies will actually be filled
131 -RUBY_FAKEGEM_TASK_TEST="test"
132 -
133 -RUBY_FAKEGEM_TASK_DOC=""
134 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
135 -
136 -RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
137 -
138 -RUBY_FAKEGEM_BINWRAP=""
139 -
140 -inherit ruby-fakegem versionator
141 -
142 -DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
143 -HOMEPAGE="https://github.com/rails/rails/"
144 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
145 -
146 -LICENSE="MIT"
147 -SLOT="$(get_version_component_range 1-2)"
148 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
149 -IUSE="mysql postgres sqlite"
150 -
151 -RUBY_S="rails-${PV}/${PN}"
152 -
153 -ruby_add_rdepend "~dev-ruby/activesupport-${PV}
154 - ~dev-ruby/activemodel-${PV}
155 - dev-ruby/arel:8.0
156 - sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
157 - mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.18:0.3 ) )
158 - postgres? ( >=dev-ruby/pg-0.18.0 )"
159 -
160 -ruby_add_bdepend "
161 - test? (
162 - dev-ruby/bundler
163 - ~dev-ruby/actionpack-${PV}
164 - ~dev-ruby/actionmailer-${PV}
165 - >=dev-ruby/sqlite3-1.3.6
166 - dev-ruby/mocha:0.14
167 - dev-ruby/minitest:5
168 - )"
169 -
170 -DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )"
171 -
172 -all_ruby_prepare() {
173 - # Remove items from the common Gemfile that we don't need for this
174 - # test run. This also requires handling some gemspecs.
175 - rm ../Gemfile.lock || die
176 - 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:^:#:" \
177 - -e '/:job/,/end/ s:^:#:' \
178 - -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
179 - sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
180 - sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
181 -
182 - # Add back json in the Gemfile because we dropped some dependencies
183 - # earlier that implicitly required it.
184 - sed -i -e '$agem "json"' ../Gemfile || die
185 -
186 - # Avoid test depending on mysql adapter which we don't support for
187 - # this Rails version to simplify our dependencies.
188 - rm test/cases/connection_specification/resolver_test.rb || die
189 -
190 - # Avoid single test using mysql dependencies.
191 - rm test/cases/invalid_connection_test.rb || die
192 -
193 - # Avoid failing test that makes bad assumptions on database state.
194 - sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \
195 - test/cases/associations/has_many_associations_test.rb
196 -}
197 -
198 -each_ruby_test() {
199 - if use sqlite; then
200 - ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
201 - fi
202 -}