1 |
commit: c50cf5ffb84f06554cf7f8b5f7cd2a068dd2075e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 05:49:13 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 05:49:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50cf5ff |
7 |
|
8 |
dev-ruby/activerecord: drop 5.2.6.2 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/activerecord/Manifest | 1 - |
13 |
dev-ruby/activerecord/activerecord-5.2.6.2.ebuild | 92 ----------------------- |
14 |
2 files changed, 93 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest |
17 |
index b4927870c08e..8ea812a64ec5 100644 |
18 |
--- a/dev-ruby/activerecord/Manifest |
19 |
+++ b/dev-ruby/activerecord/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST rails-5.2.6.2.tgz 8840302 BLAKE2B 54c62924252bdbc7df4b07309dc1f96973660db71c68a9b25f8f9e44fb901982cf38242c613a349220ca043ca82984ee740052fc51521a6e1f088d8b77d4f53b SHA512 f639508300258c210253be875066842553487b0ddee2b56c625b7ed99ae5b9d59d62a69181c0910ebc85786d0a5fc1001385f3700fc198d192eccbe753d2e48c |
22 |
DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b SHA512 465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7 |
23 |
DIST rails-5.2.7.tgz 8843727 BLAKE2B f721f7d67c80e6070d827aa2209aa302a41bb004c370978d9523905cec13402fb3c9c960dd0e7504ad29d8ea987526a21a4c7e3c9ac44e475be9141a0a57ccb0 SHA512 9d871a08721d2a613dab06d7c3043816768d355c0aa022e8a2a17e7bd894e3a6116d0eb5b205cfdaf9b0192400b461cf8d3ed6145663bf1104251d5f05d2e30d |
24 |
DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd SHA512 322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975 |
25 |
|
26 |
diff --git a/dev-ruby/activerecord/activerecord-5.2.6.2.ebuild b/dev-ruby/activerecord/activerecord-5.2.6.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 413d3876552b..000000000000 |
29 |
--- a/dev-ruby/activerecord/activerecord-5.2.6.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,92 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
-USE_RUBY="ruby25 ruby26" |
37 |
- |
38 |
-# this is not null so that the dependencies will actually be filled |
39 |
-RUBY_FAKEGEM_TASK_TEST="test" |
40 |
- |
41 |
-RUBY_FAKEGEM_TASK_DOC="" |
42 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
43 |
- |
44 |
-RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" |
45 |
- |
46 |
-RUBY_FAKEGEM_BINWRAP="" |
47 |
- |
48 |
-inherit ruby-fakegem eapi7-ver |
49 |
- |
50 |
-DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" |
51 |
-HOMEPAGE="https://github.com/rails/rails/" |
52 |
-SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
53 |
- |
54 |
-LICENSE="MIT" |
55 |
-SLOT="$(ver_cut 1-2)" |
56 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" |
57 |
-IUSE="mysql postgres sqlite" |
58 |
- |
59 |
-RUBY_S="rails-${PV}/${PN}" |
60 |
- |
61 |
-ruby_add_rdepend "~dev-ruby/activesupport-${PV} |
62 |
- ~dev-ruby/activemodel-${PV} |
63 |
- dev-ruby/arel:9.0 |
64 |
- sqlite? ( >=dev-ruby/sqlite3-1.3.6 ) |
65 |
- mysql? ( dev-ruby/mysql2:0.5 ) |
66 |
- postgres? ( >=dev-ruby/pg-0.18.0:* )" |
67 |
- |
68 |
-ruby_add_bdepend " |
69 |
- test? ( |
70 |
- dev-ruby/bundler |
71 |
- ~dev-ruby/actionpack-${PV} |
72 |
- ~dev-ruby/actionmailer-${PV} |
73 |
- >=dev-ruby/sqlite3-1.3.6 |
74 |
- dev-ruby/mocha |
75 |
- dev-ruby/minitest:5 |
76 |
- )" |
77 |
- |
78 |
-DEPEND+=" test? ( >=dev-db/sqlite-3.12.1 )" |
79 |
- |
80 |
-all_ruby_prepare() { |
81 |
- # Remove items from the common Gemfile that we don't need for this |
82 |
- # test run. This also requires handling some gemspecs. |
83 |
- rm ../Gemfile.lock || die |
84 |
- 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:^:#:" \ |
85 |
- -e '/:job/,/end/ s:^:#:' \ |
86 |
- -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die |
87 |
- sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die |
88 |
- sed -e '/bcrypt/ s/3.0.0/3.0/' \ |
89 |
- -i ../Gemfile || die |
90 |
- |
91 |
- # Add back json in the Gemfile because we dropped some dependencies |
92 |
- # earlier that implicitly required it. |
93 |
- sed -i -e '$agem "json"' \ |
94 |
- ../Gemfile || die |
95 |
- |
96 |
- sed -e '3i gem "activesupport", "~> 5.2.0"' \ |
97 |
- -e '3i gem "activerecord", "~> 5.2.0"' \ |
98 |
- -e '3i gem "activemodel", "~> 5.2.0"' \ |
99 |
- -i test/cases/helper.rb || die |
100 |
- |
101 |
- # Avoid test depending on mysql adapter which we don't support for |
102 |
- # this Rails version to simplify our dependencies. |
103 |
- rm test/cases/connection_specification/resolver_test.rb || die |
104 |
- |
105 |
- # Avoid single test using mysql dependencies. |
106 |
- rm test/cases/invalid_connection_test.rb || die |
107 |
- |
108 |
- # Avoid failing test that makes bad assumptions on database state. |
109 |
- sed -i -e '/test_do_not_call_callbacks_for_delete_all/,/^ end/ s:^:#:' \ |
110 |
- test/cases/associations/has_many_associations_test.rb |
111 |
- |
112 |
- # Avoid test failing to bind limit length in favor of security release |
113 |
- sed -i -e '/test_too_many_binds/askip "Fails on Gentoo"' test/cases/bind_parameter_test.rb || die |
114 |
- |
115 |
- # Avoid test failures due to sqlite explain changes |
116 |
- rm -f test/cases/adapters/sqlite3/explain_test.rb || die |
117 |
-} |
118 |
- |
119 |
-each_ruby_test() { |
120 |
- if use sqlite; then |
121 |
- MT_NO_PLUGINS=true ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed" |
122 |
- fi |
123 |
-} |