From: Hans de Graaff Date: Tue, 11 Aug 2015 05:18:13 +0000 (+0200) Subject: dev-ruby/httparty: avoid dependency on simplecov X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fd24cacdd0c0b4501416b2effd43732c0c52bc7f;p=gentoo.git dev-ruby/httparty: avoid dependency on simplecov Package-Manager: portage-2.2.20 --- 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() {