commit:     c643648f6ff3fde7b1f118c0d477305a1acdfdd7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 28 20:48:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 28 20:51:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c643648f

dev-ruby/rotp: drop git requirement

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/rotp/rotp-6.2.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-ruby/rotp/rotp-6.2.0.ebuild b/dev-ruby/rotp/rotp-6.2.0.ebuild
index 8b16fcb7f63..1d586425b66 100644
--- a/dev-ruby/rotp/rotp-6.2.0.ebuild
+++ b/dev-ruby/rotp/rotp-6.2.0.ebuild
@@ -28,4 +28,9 @@ ruby_add_bdepend "
 all_ruby_prepare() {
        # Remove simplecov
        sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
+       # Don't require git
+       sed -i \
+               -e 's/git ls-files/find/' \
+               -e 's/{test,spec,features}/spec/' \
+               ${RUBY_FAKEGEM_GEMSPEC} || die
 }

Reply via email to