commit:     f4aa3174bfcba744e797485cad88cbc47135fb45
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 29 06:52:58 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 29 06:52:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4aa3174

avoid need for bundler dependency

Closes: https://bugs.gentoo.org/645972
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/public_suffix/public_suffix-2.0.5.ebuild | 7 ++++---
 dev-ruby/public_suffix/public_suffix-3.0.1.ebuild | 5 +++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild 
b/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild
index c550eaee033..ccf55cfb3cf 100644
--- a/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild
+++ b/dev-ruby/public_suffix/public_suffix-2.0.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRAINSTALL="data"
@@ -22,6 +22,7 @@ ruby_add_bdepend "test? ( dev-ruby/mocha )"
 
 all_ruby_prepare() {
        sed -i -e '/rubocop/I s:^:#:' \
-               -e '/yardoc/,/end/ s:^:#:' Rakefile || die
+               -e '/yardoc/,/end/ s:^:#:' \
+               -e '/bundler/ s:^:#:' Rakefile || die
        sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
 }

diff --git a/dev-ruby/public_suffix/public_suffix-3.0.1.ebuild 
b/dev-ruby/public_suffix/public_suffix-3.0.1.ebuild
index 0994676f87e..38e346e0bee 100644
--- a/dev-ruby/public_suffix/public_suffix-3.0.1.ebuild
+++ b/dev-ruby/public_suffix/public_suffix-3.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,6 +24,7 @@ ruby_add_bdepend "test? ( dev-ruby/mocha )"
 
 all_ruby_prepare() {
        sed -i -e '/rubocop/I s:^:#:' \
-               -e '/yardoc/,/CLOBBER.include/ s:^:#:' Rakefile || die
+               -e '/yardoc/,/CLOBBER.include/ s:^:#:' \
+               -e '/bundler/ s:^:#:' Rakefile || die
        sed -i -e '/reporters/I s:^:#:' test/test_helper.rb || die
 }

Reply via email to