commit:     ea5fa30cd6f0eba9740316de097122802ff5e07b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 08:25:12 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 09:02:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5fa30c

dev-ruby/rantly: avoid simplecov dependency

Closes: https://bugs.gentoo.org/725430
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rantly/rantly-2.0.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-ruby/rantly/rantly-2.0.0.ebuild 
b/dev-ruby/rantly/rantly-2.0.0.ebuild
index 4c2e275a6cc..933b123125c 100644
--- a/dev-ruby/rantly/rantly-2.0.0.ebuild
+++ b/dev-ruby/rantly/rantly-2.0.0.ebuild
@@ -16,6 +16,10 @@ SLOT="$(ver_cut 1)"
 KEYWORDS="~amd64"
 IUSE=""
 
+all_ruby_prepare() {
+       sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}
+
 each_ruby_test() {
        ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' 
|| die
 }

Reply via email to