summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-26 07:16:28 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-26 07:17:57 +0100
commit9a0fe9b3caf0739a56028b1d4e91a8a64da53ac6 (patch)
tree8f16c0e4a751485f351327499b34a9dcc20ff7c6 /dev-ruby/rdoc
parentapp-emulaton/xen-tools: Fix issues with zero-length records in migration v2 (diff)
downloadgentoo-9a0fe9b3caf0739a56028b1d4e91a8a64da53ac6.tar.gz
gentoo-9a0fe9b3caf0739a56028b1d4e91a8a64da53ac6.tar.bz2
gentoo-9a0fe9b3caf0739a56028b1d4e91a8a64da53ac6.zip
dev-ruby/rdoc: avoid dependency on bundler, bug 603696
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r--dev-ruby/rdoc/rdoc-5.0.0.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-ruby/rdoc/rdoc-5.0.0.ebuild b/dev-ruby/rdoc/rdoc-5.0.0.ebuild
index acfd43a61598..666988505a0c 100644
--- a/dev-ruby/rdoc/rdoc-5.0.0.ebuild
+++ b/dev-ruby/rdoc/rdoc-5.0.0.ebuild
@@ -36,11 +36,9 @@ all_ruby_prepare() {
# Other packages also have use for a nonexistent directory, bug 321059
sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die
- # Remove unavailable and unneeded isolate plugin for Hoe
- sed -i -e '/isolate/d' Rakefile || die
-
- # Remove licenses line from Hoe definitions so we also use older versions.
- sed -i -e '/licenses/ s:^:#:' Rakefile || die
+ # Avoid unneeded dependency on bundler, bug 603696
+ sed -i -e '/bundler/ s:^:#:' \
+ -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' 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