summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-06-29 17:22:11 +0200
committerHans de Graaff <graaff@gentoo.org>2017-06-29 17:22:11 +0200
commita1ecf3d3f6cff40279db16b765368ac92a340c0d (patch)
tree0f1f265d6bed036660657cb6b85d9381718c3823 /dev-ruby/autoprefixer-rails
parentsys-kernel/gentoo-sources: Linux patch 4.9.35 (diff)
downloadgentoo-a1ecf3d3f6cff40279db16b765368ac92a340c0d.tar.gz
gentoo-a1ecf3d3f6cff40279db16b765368ac92a340c0d.tar.bz2
gentoo-a1ecf3d3f6cff40279db16b765368ac92a340c0d.zip
dev-ruby/autoprefixer-rails: build deps are only needed for tests
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/autoprefixer-rails')
-rw-r--r--dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild6
1 files 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 b9b1a7750c8f..3f028c0f5205 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