From fd24cacdd0c0b4501416b2effd43732c0c52bc7f Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Tue, 11 Aug 2015 07:18:13 +0200 Subject: [PATCH] dev-ruby/httparty: avoid dependency on simplecov Package-Manager: portage-2.2.20 --- dev-ruby/httparty/httparty-0.13.5.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-ruby/httparty/httparty-0.13.5.ebuild b/dev-ruby/httparty/httparty-0.13.5.ebuild index 111bb8a9509f..f7bb43d7d4da 100644 --- a/dev-ruby/httparty/httparty-0.13.5.ebuild +++ b/dev-ruby/httparty/httparty-0.13.5.ebuild @@ -35,6 +35,10 @@ all_ruby_prepare() { # Avoid test dependency on cucumber. We can't run the features since # they depend on mongrel which is no longer packaged. sed -i -e '/cucumber/I s:^:#:' Rakefile || die + + # Avoid test dependency on simplecov + sed -i -e '/simplecov/I s:^:#:' \ + -e '1i require "cgi"' spec/spec_helper.rb || die } each_ruby_test() { -- 2.26.2