commit:     4f83515c4d7b10bfcd087a6fd461a7daf5429b77
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 25 16:27:18 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 07:11:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f83515c

dev-ruby/rdoc: add ruby26

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/rdoc/rdoc-6.1.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rdoc/rdoc-6.1.0.ebuild b/dev-ruby/rdoc/rdoc-6.1.0.ebuild
index 48954752eeb..a97eae987c1 100644
--- a/dev-ruby/rdoc/rdoc-6.1.0.ebuild
+++ b/dev-ruby/rdoc/rdoc-6.1.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_DOCDIR="doc"
@@ -38,7 +38,9 @@ all_ruby_prepare() {
 
        # Avoid unneeded dependency on bundler, bug 603696
        sed -i -e '/bundler/ s:^:#:' \
-               -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' Rakefile || 
die
+               -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \
+               -e '/rubocop\/rake/ s:^:#:' \
+               -e '/RuboCop/,/end/ s:^:#:' Rakefile || die
 
        # Remove test that is depending on the locale, which we can't garantuee.
        sed -i -e '/def test_encode_with/,/^  end/ s:^:#:' 
test/test_rdoc_options.rb || die

Reply via email to