summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-13 17:16:39 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-13 17:17:08 +0200
commita6ae7c62bf10a3ff2f03d3ed9adfe0cc9e4feca1 (patch)
tree8acd04091a21c04c1271f53e4d2d5efddff78dee
parentnet-wireless/hostapd: 2.6-r{2,3}: drop obsolete (diff)
downloadgentoo-a6ae7c62bf10a3ff2f03d3ed9adfe0cc9e4feca1.tar.gz
gentoo-a6ae7c62bf10a3ff2f03d3ed9adfe0cc9e4feca1.tar.bz2
gentoo-a6ae7c62bf10a3ff2f03d3ed9adfe0cc9e4feca1.zip
dev-ruby/activestorage: sort out needed and unneeded deps
Add missing test dependencies and remove unneeded dependencies from the Gemfile. Closes: https://bugs.gentoo.org/657800 Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-ruby/activestorage/activestorage-5.2.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/activestorage/activestorage-5.2.0.ebuild b/dev-ruby/activestorage/activestorage-5.2.0.ebuild
index 9d7e5114d42..0fc602e5882 100644
--- a/dev-ruby/activestorage/activestorage-5.2.0.ebuild
+++ b/dev-ruby/activestorage/activestorage-5.2.0.ebuild
@@ -40,12 +40,14 @@ ruby_add_bdepend "
dev-ruby/test-unit:2
dev-ruby/mini_magick
dev-ruby/mocha
+ dev-ruby/rake
+ dev-ruby/sqlite3
)"
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
- 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:^:#:" \
+ 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:^:#:" \
-e '/dalli/ s/2.7.7/2.7.9/' \
-e '/:job/,/end/ s:^:#:' \
-e '/:test/,/^end/ s:^:#:' \