dev-ruby/slim: avoid test failing with tilt 2.x
authorHans de Graaff <graaff@gentoo.org>
Sun, 7 Aug 2016 06:54:50 +0000 (08:54 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 7 Aug 2016 06:57:11 +0000 (08:57 +0200)
Package-Manager: portage-2.2.28

dev-ruby/slim/slim-3.0.7.ebuild

index 7fb563e6a8e8106957727e960a65e70de454b886..f2249a69937300f85576e5af3eb86aaf23cb2f63 100644 (file)
@@ -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
 }