commit:     fd24cacdd0c0b4501416b2effd43732c0c52bc7f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 05:18:13 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 05:18:13 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd24cacd

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 111bb8a..f7bb43d 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() {

Reply via email to