From 15dbbdbb3dd7312a90c1f2d09c727453d20ca702 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 4 Nov 2019 09:13:21 +0100 Subject: [PATCH] ruby-fakegem.eclass: Add RESTRICT="!test? ( test )" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/ruby-fakegem.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index e600b02b9649..d0956082f816 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -155,20 +155,24 @@ esac case ${RUBY_FAKEGEM_RECIPE_TEST} in rake) IUSE+=" test" + RESTRICT+=" !test? ( test )" ruby_add_bdepend "test? ( dev-ruby/rake )" ;; rspec) IUSE+=" test" + RESTRICT+=" !test? ( test )" # Also require a new enough rspec-core version that installs the # rspec-2 wrapper. ruby_add_bdepend "test? ( dev-ruby/rspec:2 >=dev-ruby/rspec-core-2.14.8-r2 )" ;; rspec3) IUSE+=" test" + RESTRICT+=" !test? ( test )" ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" ;; cucumber) IUSE+=" test" + RESTRICT+=" !test? ( test )" ruby_add_bdepend "test? ( dev-util/cucumber )" ;; *) -- 2.26.2