dev-ruby/slim: avoid dependency on git, bug 610026
authorHans de Graaff <graaff@gentoo.org>
Mon, 20 Feb 2017 06:49:38 +0000 (07:49 +0100)
committerHans de Graaff <graaff@gentoo.org>
Mon, 20 Feb 2017 06:49:38 +0000 (07:49 +0100)
Package-Manager: portage-2.3.3

dev-ruby/slim/slim-3.0.7-r1.ebuild

index a2770dc8e055d720fde56af7abe3f3fe94142691..0b8023db44d526c7b8655fcd10fc533649053aba 100644 (file)
@@ -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() {