From f295d004b21e35134e6a9afc5f904ad2a788bf68 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Tue, 19 May 2020 15:21:40 +0200 Subject: [PATCH] dev-ruby/loofah: fix version in gemspec Closes: https://bugs.gentoo.org/719254 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- .../loofah/{loofah-2.5.0-r1.ebuild => loofah-2.5.0-r2.ebuild} | 3 +++ 1 file changed, 3 insertions(+) rename dev-ruby/loofah/{loofah-2.5.0-r1.ebuild => loofah-2.5.0-r2.ebuild} (91%) diff --git a/dev-ruby/loofah/loofah-2.5.0-r1.ebuild b/dev-ruby/loofah/loofah-2.5.0-r2.ebuild similarity index 91% rename from dev-ruby/loofah/loofah-2.5.0-r1.ebuild rename to dev-ruby/loofah/loofah-2.5.0-r2.ebuild index eaf295b5d0dd..aa2eaf69d5c7 100644 --- a/dev-ruby/loofah/loofah-2.5.0-r1.ebuild +++ b/dev-ruby/loofah/loofah-2.5.0-r2.ebuild @@ -24,6 +24,9 @@ ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogir ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" all_ruby_prepare() { + # Fix version in gemspec + sed -i -e '/s.version/ s/".*"/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die + # Avoid unneeded development dependencies sed -i -e '/concourse/I s:^:#:' Rakefile || die -- 2.26.2