diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-20 09:45:14 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-20 09:47:04 +0100 |
commit | d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd (patch) | |
tree | c06b51cf42834650e71ac14f144e4d22f6dbff05 /dev-ruby/ffi | |
parent | dev-ruby/ruby-feedparser: cleanup (diff) | |
download | gentoo-d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd.tar.gz gentoo-d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd.tar.bz2 gentoo-d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd.zip |
dev-ruby/ffi: add ruby30; fix gemspec
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ffi')
-rw-r--r-- | dev-ruby/ffi/ffi-1.15.0.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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:^:#:' \ |