From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B880413835B for ; Sat, 20 Mar 2021 08:47:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D578FE081A; Sat, 20 Mar 2021 08:47:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B98B1E081A for ; Sat, 20 Mar 2021 08:47:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7144133BE3E for ; Sat, 20 Mar 2021 08:47:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBF835CE for ; Sat, 20 Mar 2021 08:47:08 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1616230024.d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ffi/ffi-1.15.0.ebuild X-VCS-Directories: dev-ruby/ffi/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd X-VCS-Branch: master Date: Sat, 20 Mar 2021 08:47:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6caff85b-4c57-4ae8-9a55-ec74181ce797 X-Archives-Hash: b8835c8b3c3aa8145be01fb17adcb1a9 commit: d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 20 08:45:14 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 20 08:47:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83a9e53 dev-ruby/ffi: add ruby30; fix gemspec Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.15.0.ebuild | 7 +++++-- 1 file 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 72f286d35cc..244b9737ea4 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:^:#:' \