commit: 9e9c001fd1e27f97e6132a87a0aba19444bcccf3 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Dec 24 10:57:37 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Dec 24 11:00:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9c001f
dev-ruby/haml: avoid need for coffee-script test dep Bug: https://bugs.gentoo.org/890800 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/haml/haml-6.2.3.ebuild | 5 +++++ dev-ruby/haml/haml-6.3.0.ebuild | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/dev-ruby/haml/haml-6.2.3.ebuild b/dev-ruby/haml/haml-6.2.3.ebuild index a4ac5c0cb899..50f99feda53c 100644 --- a/dev-ruby/haml/haml-6.2.3.ebuild +++ b/dev-ruby/haml/haml-6.2.3.ebuild @@ -49,6 +49,11 @@ all_ruby_prepare() { test/test_helper.rb || die # Remove tests that fails when RedCloth is available rm -f test/haml/filters/markdown_test.rb || die + # Remove tests that require coffee-script (does not work with x32 + # and coffee-script is obsolete anyway). + rm -f test/haml/filters/coffee_test.rb || die + sed -e '/describe.*coffee filter/,/^ end/ s:^:#:' \ + -i test/haml/line_number_test.rb || die } each_ruby_test() { diff --git a/dev-ruby/haml/haml-6.3.0.ebuild b/dev-ruby/haml/haml-6.3.0.ebuild index a4ac5c0cb899..1f9d7e635988 100644 --- a/dev-ruby/haml/haml-6.3.0.ebuild +++ b/dev-ruby/haml/haml-6.3.0.ebuild @@ -49,6 +49,12 @@ all_ruby_prepare() { test/test_helper.rb || die # Remove tests that fails when RedCloth is available rm -f test/haml/filters/markdown_test.rb || die + + # Remove tests that require coffee-script (does not work with x32 + # and coffee-script is obsolete anyway). + rm -f test/haml/filters/coffee_test.rb || die + sed -e '/describe.*coffee filter/,/^ end/ s:^:#:' \ + -i test/haml/line_number_test.rb || die } each_ruby_test() {
