summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-28 21:48:32 +0100
committerSam James <sam@gentoo.org>2021-09-28 21:51:44 +0100
commitc643648f6ff3fde7b1f118c0d477305a1acdfdd7 (patch)
tree3a7c905e3c79d156ec1b086ecdf4a0416f5f4111 /dev-ruby/rotp
parentwww-apps/redmine: remove old vulnerable version (diff)
downloadgentoo-c643648f6ff3fde7b1f118c0d477305a1acdfdd7.tar.gz
gentoo-c643648f6ff3fde7b1f118c0d477305a1acdfdd7.tar.bz2
gentoo-c643648f6ff3fde7b1f118c0d477305a1acdfdd7.zip
dev-ruby/rotp: drop git requirement
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/rotp')
-rw-r--r--dev-ruby/rotp/rotp-6.2.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ruby/rotp/rotp-6.2.0.ebuild b/dev-ruby/rotp/rotp-6.2.0.ebuild
index 8b16fcb7f638..1d586425b666 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
}