summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-12-25 17:27:18 +0100
committerHans de Graaff <graaff@gentoo.org>2018-12-26 08:11:30 +0100
commit4f83515c4d7b10bfcd087a6fd461a7daf5429b77 (patch)
tree2689390d08f2c27310099dffd713650762d891e0 /dev-ruby/rdoc
parentdev-ruby/bundler: add ruby26 (diff)
downloadgentoo-4f83515c4d7b10bfcd087a6fd461a7daf5429b77.tar.gz
gentoo-4f83515c4d7b10bfcd087a6fd461a7daf5429b77.tar.bz2
gentoo-4f83515c4d7b10bfcd087a6fd461a7daf5429b77.zip
dev-ruby/rdoc: add ruby26
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r--dev-ruby/rdoc/rdoc-6.1.0.ebuild6
1 files 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 48954752eebf..a97eae987c1f 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