From: Hans de Graaff Date: Tue, 19 May 2020 13:21:40 +0000 (+0200) Subject: dev-ruby/loofah: fix version in gemspec X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f295d004b21e35134e6a9afc5f904ad2a788bf68;p=gentoo.git 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 --- 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