From: Hans de Graaff Date: Sun, 7 Aug 2016 06:54:50 +0000 (+0200) Subject: dev-ruby/slim: avoid test failing with tilt 2.x X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4da9e619ec2ec78b8202eff86b266b3fab925794;p=gentoo.git dev-ruby/slim: avoid test failing with tilt 2.x Package-Manager: portage-2.2.28 --- diff --git a/dev-ruby/slim/slim-3.0.7.ebuild b/dev-ruby/slim/slim-3.0.7.ebuild index 7fb563e6a8e8..f2249a699373 100644 --- a/dev-ruby/slim/slim-3.0.7.ebuild +++ b/dev-ruby/slim/slim-3.0.7.ebuild @@ -33,10 +33,11 @@ all_ruby_prepare() { # This sinatra code expects tests to be installed but we strip those. sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die - # Avoid tests for things we don't have. + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die }