diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-20 07:49:38 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-20 07:49:38 +0100 |
commit | 1a0825eb29c079f7e8b10246aa1bdea5c6483cb9 (patch) | |
tree | 31607b320f17cdeeea166d73b50d85bc47452801 /dev-ruby/slim | |
parent | dev-ruby/ffaker: add 2.5.0 (diff) | |
download | gentoo-1a0825eb29c079f7e8b10246aa1bdea5c6483cb9.tar.gz gentoo-1a0825eb29c079f7e8b10246aa1bdea5c6483cb9.tar.bz2 gentoo-1a0825eb29c079f7e8b10246aa1bdea5c6483cb9.zip |
dev-ruby/slim: avoid dependency on git, bug 610026
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/slim')
-rw-r--r-- | dev-ruby/slim/slim-3.0.7-r1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-ruby/slim/slim-3.0.7-r1.ebuild b/dev-ruby/slim/slim-3.0.7-r1.ebuild index a2770dc8e055..0b8023db44d5 100644 --- a/dev-ruby/slim/slim-3.0.7-r1.ebuild +++ b/dev-ruby/slim/slim-3.0.7-r1.ebuild @@ -44,6 +44,9 @@ all_ruby_prepare() { # Relax temple version check (already fixed upstream) sed -i -e 's/0.7.6/0.7/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die } each_ruby_prepare() { |