From 1c845caf7b96fd61e272e398aa12b680e267267a Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 27 Oct 2019 10:43:02 +0100 Subject: [PATCH] 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 --- dev-ruby/rexical/rexical-1.0.7.ebuild | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.26.2