commit:     7fea07f9f980588c424a15fe4d475e4df9691b09
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  8 04:06:22 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul  8 04:06:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fea07f9

dev-ruby/rgen: avoid need for bundler dependency

Closes: https://bugs.gentoo.org/660472
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/rgen/rgen-0.8.3.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-ruby/rgen/rgen-0.8.3.ebuild b/dev-ruby/rgen/rgen-0.8.3.ebuild
index a2986146efc..bacb8b5355b 100644
--- a/dev-ruby/rgen/rgen-0.8.3.ebuild
+++ b/dev-ruby/rgen/rgen-0.8.3.ebuild
@@ -23,6 +23,10 @@ ruby_add_bdepend "doc? ( >=dev-ruby/rdoc-4.2.0 )
        test? ( >=dev-ruby/minitest-5.10:5 >=dev-ruby/nokogiri-1.6.8.1 )
 "
 
+all_ruby_prepare() {
+       sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}
+
 each_ruby_prepare() {
        case ${RUBY} in
                *ruby24|*ruby25)

Reply via email to