From: Michał Górny Date: Mon, 4 Nov 2019 08:13:21 +0000 (+0100) Subject: ruby-fakegem.eclass: Add RESTRICT="!test? ( test )" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15dbbdbb3dd7312a90c1f2d09c727453d20ca702;p=gentoo.git ruby-fakegem.eclass: Add RESTRICT="!test? ( test )" Signed-off-by: Michał Górny --- 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 )" ;; *)