diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-29 07:58:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-29 08:01:17 +0200 |
commit | c7e710cc2e4994f5442d3fa07ef54892752a56f0 (patch) | |
tree | 9217a83c4410e3b25e09d6956526a4cc155cb329 /dev-ruby | |
parent | dev-ruby/slim: drop 4.1.0-r4 (diff) | |
download | gentoo-c7e710cc2e4994f5442d3fa07ef54892752a56f0.tar.gz gentoo-c7e710cc2e4994f5442d3fa07ef54892752a56f0.tar.bz2 gentoo-c7e710cc2e4994f5442d3fa07ef54892752a56f0.zip |
dev-ruby/slim: fix warning and add missing test dep
Closes: https://bugs.gentoo.org/830349
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/slim/slim-5.1.1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
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 } |