commit: 1c845caf7b96fd61e272e398aa12b680e267267a Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Oct 27 09:43:02 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Oct 27 09:43:23 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c845caf
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 <graaff <AT> gentoo.org> 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 3b435e81161..c05c5bf02cc 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