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/actionmailbox/
Date: Sun, 19 Sep 2021 07:50:58
Message-Id: 1632037849.dd4b9a107cd1373123336738b94d71afd6433f8b.graaff@gentoo
1 commit: dd4b9a107cd1373123336738b94d71afd6433f8b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 19 07:50:38 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 19 07:50:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4b9a10
7
8 dev-ruby/actionmailbox: fix test dependencies
9
10 Closes: https://bugs.gentoo.org/811813
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
13
14 dev-ruby/actionmailbox/actionmailbox-6.1.4.1.ebuild | 5 +++--
15 1 file changed, 3 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-ruby/actionmailbox/actionmailbox-6.1.4.1.ebuild b/dev-ruby/actionmailbox/actionmailbox-6.1.4.1.ebuild
18 index a7b4314f471..948cb48d3cd 100644
19 --- a/dev-ruby/actionmailbox/actionmailbox-6.1.4.1.ebuild
20 +++ b/dev-ruby/actionmailbox/actionmailbox-6.1.4.1.ebuild
21 @@ -37,13 +37,14 @@ ruby_add_rdepend "
22 ruby_add_bdepend "test? (
23 dev-ruby/bundler
24 dev-ruby/mocha
25 + dev-ruby/webmock
26 )"
27
28 all_ruby_prepare() {
29 # Remove items from the common Gemfile that we don't need for this
30 # test run. This also requires handling some gemspecs.
31 - sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|capybara\|webpacker\|bootsnap\|dalli\)/ s:^:#:" \
32 - -e '/group :\(doc\|job\|rubocop\|test\)/,/^end/ s:^:#:' \
33 + sed -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|mysql2\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|sass-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|redis\|blade\|aws-sdk\|google-cloud\|azure-storage\|selenium\|webdrivers\|webrick\|minitest-bisect\|minitest-retry\|minitest-reporters\|listen\|rack-cache\|capybara\|webpacker\|bootsnap\|dalli\|connection_pool\|rexml\)/ s:^:#:" \
34 + -e '/group :\(cable\|doc\|job\|rubocop\|storage\|test\)/,/^end/ s:^:#:' \
35 -i ../Gemfile || die
36 rm ../Gemfile.lock || die
37 sed -i -e '/byebug/ s:^:#:' test/test_helper.rb || die