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: Sat, 11 Sep 2021 08:44:48
Message-Id: 1631349880.3fa85663b9a3ef79babc3bb24b128576cf3ef440.graaff@gentoo
1 commit: 3fa85663b9a3ef79babc3bb24b128576cf3ef440
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 11 08:44:33 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 11 08:44:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa85663
7
8 dev-ruby/activesupport: fix test dependencies
9
10 Clean up Gemfile and update test dependencies.
11
12 Closes: https://bugs.gentoo.org/812008
13 Package-Manager: Portage-3.0.20, Repoman-3.0.3
14 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
15
16 dev-ruby/activesupport/activesupport-6.1.4.1.ebuild | 6 ++++--
17 1 file changed, 4 insertions(+), 2 deletions(-)
18
19 diff --git a/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
20 index 76b3ac7c82f..28b06d08700 100644
21 --- a/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
22 +++ b/dev-ruby/activesupport/activesupport-6.1.4.1.ebuild
23 @@ -36,10 +36,12 @@ ruby_add_rdepend "
24 # but there are tests using this code.
25 ruby_add_bdepend "test? (
26 >=dev-ruby/dalli-2.2.1
27 - >=dev-ruby/nokogiri-1.4.5
28 + dev-ruby/connection_pool
29 + >=dev-ruby/nokogiri-1.8.1
30 >=dev-ruby/builder-3.1.0
31 >=dev-ruby/listen-3.3:3
32 dev-ruby/rack
33 + dev-ruby/rexml
34 dev-ruby/mocha
35 )"
36
37 @@ -49,7 +51,7 @@ all_ruby_prepare() {
38
39 # Remove items from the common Gemfile that we don't need for this
40 # test run. This also requires handling some gemspecs.
41 - 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\|capybara\|sass-rails\|selenium-webdriver\)/ s:^:#:" \
42 + sed -i -e "/\(system_timer\|pg\|execjs\|jquery-rails\|mysql\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\)/ s:^:#:" \
43 -e '/group :\(doc\|rubocop\|job\|cable\|storage\|ujs\|test\) do/,/^end/ s:^:#:' \
44 -e 's/gemspec/gemspec path: "activesupport"/' \
45 -e '5igem "builder"; gem "rack"' ../Gemfile || die