commit:     a1ecf3d3f6cff40279db16b765368ac92a340c0d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 15:22:11 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 15:22:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ecf3d3

dev-ruby/autoprefixer-rails: build deps are only needed for tests

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild 
b/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild
index b9b1a7750c8..3f028c0f520 100644
--- a/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild
+++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild
@@ -23,9 +23,11 @@ IUSE=""
 
 ruby_add_rdepend "dev-ruby/execjs:*"
 
-ruby_add_bdepend "dev-ruby/rails
+ruby_add_bdepend "test? (
+       dev-ruby/rails
        dev-ruby/rake
-       dev-ruby/rspec-rails"
+       dev-ruby/rspec-rails
+)"
 
 all_ruby_prepare() {
        sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die

Reply via email to