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/activesupport/
Date: Sun, 29 Aug 2021 06:42:04
Message-Id: 1630219311.1037a224493ad897141dc19798eedc45fe585c3c.graaff@gentoo
1 commit: 1037a224493ad897141dc19798eedc45fe585c3c
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 29 06:41:51 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 29 06:41:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1037a224
7
8 dev-ruby/activesupport: 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/activesupport/Manifest | 2 -
14 .../activesupport/activesupport-6.1.3.2.ebuild | 72 ----------------------
15 dev-ruby/activesupport/activesupport-6.1.4.ebuild | 72 ----------------------
16 3 files changed, 146 deletions(-)
17
18 diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
19 index fd444a73d23..1cb354781ac 100644
20 --- a/dev-ruby/activesupport/Manifest
21 +++ b/dev-ruby/activesupport/Manifest
22 @@ -1,5 +1,3 @@
23 DIST rails-5.2.6.tgz 8841270 BLAKE2B 8e813f376446ef249aa3b48934d3cb5ae125c09c54353cc93557c3bee4f23e47ae7ceffab75d5cbfb691daed85149d9054337b468a0010bc5c7ebb879502396b SHA512 465e017591a9962a2e0dec2eac9669d5f507d0904e9eec50fbc8848d804ba5f1eb3220fd5acc949845f048f59cfc5e43f099707650edf301d6595e70e33888c7
24 DIST rails-6.0.4.1.tgz 18595307 BLAKE2B 9a950a45cd04c5fe0cbe57fd014a6997074dcbe8f95fcbb2f5d3b6372867ef8bb0931b909ca8eba623787419f5f45504cdcd477729ba3b3a052f5003229121cd SHA512 322cfa6d0ed62f0660ce2f43003b2a745297f3b82dca486d7e4a9821441ad4ec92c202556515645d141fba31c998e17aa00bbe3d8c2106718e6839f94e88c975
25 -DIST rails-6.1.3.2.tgz 10992572 BLAKE2B ec4b7c33180ecc6b9dc9bd0270c9c03e48a774a7c0fc1d79638bd6b52a4c9831f59c5d8714e24c9611ac9e8ad03dddc664c2969da8be568eade76464c04d5697 SHA512 3b30facfe0555c3161b5fc50efb7dc1f3df0eeadbfa19f16df3ebdb4877d6fb9a978ae7a6713a502d79e6d8f1be20157bd5ef64919fdd558cad89492cc2d9672
26 DIST rails-6.1.4.1.tgz 11003728 BLAKE2B 8baa45968536ebe34f3bc4e4f25246bff68997a88c1019d1f7b7ba73785bc11901d7222ac04866b900c7dc35f9291ede78c0949abd979e797d07f3759179c05a SHA512 411d3fe21c7500e884edb86cc6728c4d3b7125d2e6ea913191437716f2be0d522252c55c25cb4c5221cc112b3ca5eeba690b0b0e59572fcc54ea42ba05ec4520
27 -DIST rails-6.1.4.tgz 11003156 BLAKE2B a0068d221da9c2b3be73f45b84ca1c1c926dfab5b759364d25428291624be31dd664faff32930ec59d5902682950895e6a5b40bcaf6106ad274622741b8f316c SHA512 e88781c690b00441fda0d50514b3ce1dde2ba4c5b93c775a6f77d50bd9aa736631c4d8b1ca6f5d0e270b8ebe902f7945823df7d0d7513881fa6b35c03bcf388f
28
29 diff --git a/dev-ruby/activesupport/activesupport-6.1.3.2.ebuild b/dev-ruby/activesupport/activesupport-6.1.3.2.ebuild
30 deleted file mode 100644
31 index 077b419f771..00000000000
32 --- a/dev-ruby/activesupport/activesupport-6.1.3.2.ebuild
33 +++ /dev/null
34 @@ -1,72 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -USE_RUBY="ruby25 ruby26 ruby27"
41 -
42 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
43 -
44 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
45 -
46 -RUBY_FAKEGEM_BINWRAP=""
47 -
48 -inherit ruby-fakegem
49 -
50 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
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 ~sparc ~x86"
57 -IUSE=""
58 -
59 -RUBY_S="rails-${PV}/${PN}"
60 -
61 -ruby_add_rdepend "
62 - >=dev-ruby/concurrent-ruby-1.0.2:1
63 - >=dev-ruby/i18n-1.6:1
64 - dev-ruby/tzinfo:2
65 - >=dev-ruby/minitest-5.1:5
66 - >=dev-ruby/zeitwerk-2.3:2
67 -"
68 -
69 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
70 -# but there are tests using this code.
71 -ruby_add_bdepend "test? (
72 - >=dev-ruby/dalli-2.2.1
73 - >=dev-ruby/nokogiri-1.4.5
74 - >=dev-ruby/builder-3.1.0
75 - >=dev-ruby/listen-3.3:3
76 - dev-ruby/rack
77 - dev-ruby/mocha
78 - )"
79 -
80 -all_ruby_prepare() {
81 - # Set the secure permissions that tests expect.
82 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
83 -
84 - # Remove items from the common Gemfile that we don't need for this
85 - # test run. This also requires handling some gemspecs.
86 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|blade\|aws-sdk\|webmock\|sass-rails\|selenium-webdriver\)/ s:^:#:" \
87 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
88 - -e 's/gemspec/gemspec path: "activesupport"/' \
89 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
90 - rm ../Gemfile.lock || die
91 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
92 -
93 - # Avoid test that depends on timezone
94 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
95 -
96 - # Avoid tests that seem to trigger race conditions.
97 - rm -f test/evented_file_update_checker_test.rb || die
98 -
99 - # Avoid test that generates filename that is too long
100 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
101 -
102 - # Avoid tests requiring a live redis running
103 - rm -f test/cache/stores/redis_cache_store_test.rb || die
104 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
105 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
106 -}
107
108 diff --git a/dev-ruby/activesupport/activesupport-6.1.4.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.ebuild
109 deleted file mode 100644
110 index 077b419f771..00000000000
111 --- a/dev-ruby/activesupport/activesupport-6.1.4.ebuild
112 +++ /dev/null
113 @@ -1,72 +0,0 @@
114 -# Copyright 1999-2021 Gentoo Authors
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=7
118 -
119 -USE_RUBY="ruby25 ruby26 ruby27"
120 -
121 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
122 -
123 -RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
124 -
125 -RUBY_FAKEGEM_BINWRAP=""
126 -
127 -inherit ruby-fakegem
128 -
129 -DESCRIPTION="Utility Classes and Extension to the Standard Library"
130 -HOMEPAGE="https://github.com/rails/rails"
131 -SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
132 -
133 -LICENSE="MIT"
134 -SLOT="$(ver_cut 1-2)"
135 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
136 -IUSE=""
137 -
138 -RUBY_S="rails-${PV}/${PN}"
139 -
140 -ruby_add_rdepend "
141 - >=dev-ruby/concurrent-ruby-1.0.2:1
142 - >=dev-ruby/i18n-1.6:1
143 - dev-ruby/tzinfo:2
144 - >=dev-ruby/minitest-5.1:5
145 - >=dev-ruby/zeitwerk-2.3:2
146 -"
147 -
148 -# memcache-client, nokogiri, builder, and redis are not strictly needed,
149 -# but there are tests using this code.
150 -ruby_add_bdepend "test? (
151 - >=dev-ruby/dalli-2.2.1
152 - >=dev-ruby/nokogiri-1.4.5
153 - >=dev-ruby/builder-3.1.0
154 - >=dev-ruby/listen-3.3:3
155 - dev-ruby/rack
156 - dev-ruby/mocha
157 - )"
158 -
159 -all_ruby_prepare() {
160 - # Set the secure permissions that tests expect.
161 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
162 -
163 - # Remove items from the common Gemfile that we don't need for this
164 - # test run. This also requires handling some gemspecs.
165 - sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|redis\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|blade\|aws-sdk\|webmock\|sass-rails\|selenium-webdriver\)/ s:^:#:" \
166 - -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
167 - -e 's/gemspec/gemspec path: "activesupport"/' \
168 - -e '5igem "builder"; gem "rack"' ../Gemfile || die
169 - rm ../Gemfile.lock || die
170 -# sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
171 -
172 - # Avoid test that depends on timezone
173 - sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die
174 -
175 - # Avoid tests that seem to trigger race conditions.
176 - rm -f test/evented_file_update_checker_test.rb || die
177 -
178 - # Avoid test that generates filename that is too long
179 - sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die
180 -
181 - # Avoid tests requiring a live redis running
182 - rm -f test/cache/stores/redis_cache_store_test.rb || die
183 - sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die
184 - sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die
185 -}