From 1bc1467d6f9758beb83feaf1b76591c1aff3c153 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 11 Nov 2019 20:12:04 +0100 Subject: [PATCH] dev-ruby/nokogiri: fix tests without simplecov Fixes: https://bugs.gentoo.org/698814 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff --- dev-ruby/nokogiri/nokogiri-1.10.4.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild b/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild index 0442ab589dd3..ca9a935f953d 100644 --- a/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild +++ b/dev-ruby/nokogiri/nokogiri-1.10.4.ebuild @@ -46,6 +46,8 @@ all_ruby_prepare() { # native building. sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die sed -i -e '/cross_config_options/d' Rakefile || die + + sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die } each_ruby_configure() { -- 2.26.2