commit:     c7e710cc2e4994f5442d3fa07ef54892752a56f0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 05:58:56 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 06:01:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e710cc

dev-ruby/slim: fix warning and add missing test dep

Closes: https://bugs.gentoo.org/830349
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/slim/slim-5.1.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/slim/slim-5.1.1.ebuild b/dev-ruby/slim/slim-5.1.1.ebuild
index a5c1188a4aa0..c914625d9a54 100644
--- a/dev-ruby/slim/slim-5.1.1.ebuild
+++ b/dev-ruby/slim/slim-5.1.1.ebuild
@@ -28,7 +28,8 @@ ruby_add_rdepend "
        >=dev-ruby/tilt-2.1.0:*
        >=dev-ruby/temple-0.10.0:0.7
 "
-# sass tests are currently disabled: 
https://github.com/slim-template/slim/commit/bd9d4601cd8142aa9fdbc0d87c9f9132a9a56cda
+# sass tests are currently disabled:
+# 
https://github.com/slim-template/slim/commit/bd9d4601cd8142aa9fdbc0d87c9f9132a9a56cda
 ruby_add_bdepend "
        doc? (
                dev-ruby/yard
@@ -38,6 +39,7 @@ ruby_add_bdepend "
                dev-ruby/minitest:5
                dev-ruby/kramdown:2
                dev-ruby/redcarpet
+               dev-ruby/sassc
                >=dev-ruby/test-unit-3.5
        )
 "
@@ -62,6 +64,9 @@ all_ruby_prepare() {
        sed -i -e '/test_render_with_markdown/askip "new tilt version"' 
test/core/test_embedded_engines.rb || die
        sed -i -e '/test_no_translation_of_embedded/askip "new tilt version"' 
test/translator/test_translator.rb || die
 
+       # Fix minitest deprecation
+       sed -i -e 's/MiniTest/Minitest/' test/literate/helper.rb || die
+
        sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \
                -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f 
-print:' ${RUBY_FAKEGEM_GEMSPEC} || die
 }

Reply via email to