From 4da9e619ec2ec78b8202eff86b266b3fab925794 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 7 Aug 2016 08:54:50 +0200 Subject: [PATCH] dev-ruby/slim: avoid test failing with tilt 2.x Package-Manager: portage-2.2.28 --- dev-ruby/slim/slim-3.0.7.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- 2.26.2