Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rotp/
Date: Tue, 28 Sep 2021 20:52:05
Message-Id: 1632862304.c643648f6ff3fde7b1f118c0d477305a1acdfdd7.sam@gentoo
1 commit: c643648f6ff3fde7b1f118c0d477305a1acdfdd7
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 28 20:48:32 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 28 20:51:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c643648f
7
8 dev-ruby/rotp: drop git requirement
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-ruby/rotp/rotp-6.2.0.ebuild | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/dev-ruby/rotp/rotp-6.2.0.ebuild b/dev-ruby/rotp/rotp-6.2.0.ebuild
16 index 8b16fcb7f63..1d586425b66 100644
17 --- a/dev-ruby/rotp/rotp-6.2.0.ebuild
18 +++ b/dev-ruby/rotp/rotp-6.2.0.ebuild
19 @@ -28,4 +28,9 @@ ruby_add_bdepend "
20 all_ruby_prepare() {
21 # Remove simplecov
22 sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
23 + # Don't require git
24 + sed -i \
25 + -e 's/git ls-files/find/' \
26 + -e 's/{test,spec,features}/spec/' \
27 + ${RUBY_FAKEGEM_GEMSPEC} || die
28 }