dev-ruby/nokogiri: fix tests without simplecov
authorHans de Graaff <graaff@gentoo.org>
Mon, 11 Nov 2019 19:12:04 +0000 (20:12 +0100)
committerHans de Graaff <graaff@gentoo.org>
Mon, 11 Nov 2019 19:12:04 +0000 (20:12 +0100)
Fixes: https://bugs.gentoo.org/698814
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/nokogiri/nokogiri-1.10.4.ebuild

index 0442ab589dd3a7f8bfa57c3a2be2bcf940ad6a1d..ca9a935f953d08f6228139c3d8f12593cf860427 100644 (file)
@@ -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() {