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/activestorage/
Date: Wed, 13 Jun 2018 15:18:06
Message-Id: 1528903028.a6ae7c62bf10a3ff2f03d3ed9adfe0cc9e4feca1.graaff@gentoo
1 commit: a6ae7c62bf10a3ff2f03d3ed9adfe0cc9e4feca1
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 13 15:16:39 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 13 15:17:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ae7c62
7
8 dev-ruby/activestorage: sort out needed and unneeded deps
9
10 Add missing test dependencies and remove unneeded dependencies from the
11 Gemfile.
12
13 Closes: https://bugs.gentoo.org/657800
14 Package-Manager: Portage-2.3.40, Repoman-2.3.9
15
16 dev-ruby/activestorage/activestorage-5.2.0.ebuild | 4 +++-
17 1 file changed, 3 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-ruby/activestorage/activestorage-5.2.0.ebuild b/dev-ruby/activestorage/activestorage-5.2.0.ebuild
20 index 9d7e5114d42..0fc602e5882 100644
21 --- a/dev-ruby/activestorage/activestorage-5.2.0.ebuild
22 +++ b/dev-ruby/activestorage/activestorage-5.2.0.ebuild
23 @@ -40,12 +40,14 @@ ruby_add_bdepend "
24 dev-ruby/test-unit:2
25 dev-ruby/mini_magick
26 dev-ruby/mocha
27 + dev-ruby/rake
28 + dev-ruby/sqlite3
29 )"
30
31 all_ruby_prepare() {
32 # Remove items from the common Gemfile that we don't need for this
33 # test run. This also requires handling some gemspecs.
34 - 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\|aws-sdk-s3\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\)/ s:^:#:" \
35 + 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\|aws-sdk-s3\|google-cloud-storage\|azure-storage\|blade\|bootsnap\|hiredis\|qunit-selenium\|chromedriver-helper\|redis\|rb-inotify\|sprockets\|stackprof\|websocket-client-simple\|libxml-ruby\|sass-rails\|rubocop\|capybara\|rack-cache\|json\|dalli\|listen\|connection_pool\|puma\|mysql2\)/ s:^:#:" \
36 -e '/dalli/ s/2.7.7/2.7.9/' \
37 -e '/:job/,/end/ s:^:#:' \
38 -e '/:test/,/^end/ s:^:#:' \