From d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 20 Mar 2021 09:45:14 +0100 Subject: dev-ruby/ffi: add ruby30; fix gemspec Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff --- dev-ruby/ffi/ffi-1.15.0.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-ruby/ffi') diff --git a/dev-ruby/ffi/ffi-1.15.0.ebuild b/dev-ruby/ffi/ffi-1.15.0.ebuild index 72f286d35ccc..244b9737ea49 100644 --- a/dev-ruby/ffi/ffi-1.15.0.ebuild +++ b/dev-ruby/ffi/ffi-1.15.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" +USE_RUBY="ruby25 ruby26 ruby27 ruby30" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -35,7 +35,10 @@ all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die # Fix Makefile for tests sed -i -e '/CCACHE :=/ s:^:#:' \ -- cgit v1.2.3-65-gdbad