From: Hans de Graaff Date: Sat, 23 May 2020 18:19:05 +0000 (+0200) Subject: dev-ruby/haml: avoid bundler dependency X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc3e11e231d912d512c2afa501262e200ace234c;p=gentoo.git dev-ruby/haml: avoid bundler dependency Closes: https://bugs.gentoo.org/723836 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/haml/haml-5.1.2.ebuild b/dev-ruby/haml/haml-5.1.2.ebuild index 8ae391d3b3dc..077a1d33f39b 100644 --- a/dev-ruby/haml/haml-5.1.2.ebuild +++ b/dev-ruby/haml/haml-5.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -45,6 +45,7 @@ ruby_add_bdepend " all_ruby_prepare() { sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die sed -i -e '/bundler/I s:^:#:' \ -e 's/gem "minitest"/gem "minitest", "~>5.0"/'\ -e '1igem "actionpack", "~>5.2"'\