From: Hans de Graaff Date: Mon, 11 Nov 2019 19:12:04 +0000 (+0100) Subject: dev-ruby/nokogiri: fix tests without simplecov X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1bc1467d6f9758beb83feaf1b76591c1aff3c153;p=gentoo.git 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 --- 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() {