commit:     4da9e619ec2ec78b8202eff86b266b3fab925794
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 06:54:50 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 06:57:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da9e619

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 7fb563e..f2249a6 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
 }
 

Reply via email to