From: Hans de Graaff Date: Sun, 27 Oct 2019 09:43:02 +0000 (+0100) Subject: dev-ruby/rexical: fix tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c845caf7b96fd61e272e398aa12b680e267267a;p=gentoo.git dev-ruby/rexical: fix tests Avoid a dependency on unpackaged rubocop. Fixes: https://bugs.gentoo.org/697642 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/rexical/rexical-1.0.7.ebuild b/dev-ruby/rexical/rexical-1.0.7.ebuild index 3b435e81161c..c05c5bf02cca 100644 --- a/dev-ruby/rexical/rexical-1.0.7.ebuild +++ b/dev-ruby/rexical/rexical-1.0.7.ebuild @@ -27,6 +27,11 @@ ruby_add_bdepend " dev-ruby/minitest )" +all_ruby_prepare() { + # Avoid dependency on unpackaged rubocop + sed -i -e '/test_rubocop_security/askip "not packaged"' test/test_generator.rb || die +} + all_ruby_install() { all_fakegem_install