avoid need for bundler dependency
authorHans de Graaff <graaff@gentoo.org>
Mon, 29 Jan 2018 06:52:58 +0000 (07:52 +0100)
committerHans de Graaff <graaff@gentoo.org>
Mon, 29 Jan 2018 06:52:58 +0000 (07:52 +0100)
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
dev-ruby/public_suffix/public_suffix-3.0.1.ebuild

index c550eaee0332788ecc5d9381f220b9f4a94711c9..ccf55cfb3cfb7ef919efb01b755ad4523a88d9ec 100644 (file)
@@ -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
 }
index 0994676f87e0244fcf0d742179c19c2cc8e3dc98..38e346e0bee5e256ca3448fc054f3582d7a3a41d 100644 (file)
@@ -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
 }