summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-10-07 07:13:10 +0200
committerHans de Graaff <graaff@gentoo.org>2019-10-07 07:13:10 +0200
commit6ba12542246182ceb29f3fb4eca4d09abd0fe89d (patch)
tree995d8a3760aa4aaf406f226836614718a13979db /dev-ruby
parentnet-analyzer/hydra: Old (diff)
downloadgentoo-6ba12542246182ceb29f3fb4eca4d09abd0fe89d.tar.gz
gentoo-6ba12542246182ceb29f3fb4eca4d09abd0fe89d.tar.bz2
gentoo-6ba12542246182ceb29f3fb4eca4d09abd0fe89d.zip
dev-ruby/parallel: install without git present
Fixes: https://bugs.gentoo.org/696874 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/parallel/parallel-1.18.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-ruby/parallel/parallel-1.18.0.ebuild b/dev-ruby/parallel/parallel-1.18.0.ebuild
index 43b8a2e5e5f5..c7ad1888fe50 100644
--- a/dev-ruby/parallel/parallel-1.18.0.ebuild
+++ b/dev-ruby/parallel/parallel-1.18.0.ebuild
@@ -33,6 +33,7 @@ each_ruby_prepare() {
}
all_ruby_prepare() {
+ sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/ s:^:#:' \
-e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die
sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die