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 <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2020-05-23 20:19:05 +02:00
parent f4c8d3bdbb
commit bc3e11e231

View File

@@ -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"'\