From 8e2afc92fd4c6ea5779beb07d5769b27d02e91f8 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 18 Aug 2023 21:24:54 +0200 Subject: dev-ruby/liquid-c: fix tests Fix minitest deprecation. Avoid dependency on rake-compiler. Closes: https://bugs.gentoo.org/911955 Signed-off-by: Hans de Graaff --- dev-ruby/liquid-c/liquid-c-4.1.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dev-ruby/liquid-c') diff --git a/dev-ruby/liquid-c/liquid-c-4.1.0.ebuild b/dev-ruby/liquid-c/liquid-c-4.1.0.ebuild index ba74574a276c..7740808c9ef9 100644 --- a/dev-ruby/liquid-c/liquid-c-4.1.0.ebuild +++ b/dev-ruby/liquid-c/liquid-c-4.1.0.ebuild @@ -28,7 +28,12 @@ all_ruby_prepare() { sed -i \ -e "/[Bb]undler/d" \ -e "/memcheck/Id" \ + -e '/extensiontask/ s:^:#:' \ Rakefile || die + sed -i -e 's/unit: :compile/:unit/' rakelib/unit_test.rake || die + rm -r rakelib/compile.rake || die + + sed -i -e 's/MiniTest/Minitest/' test/unit/*_test.rb || die # ruby_memcheck is a gem just for running w/ valgrind. # We don't run tests in ebuilds with Valgrind because it's -- cgit v1.2.3-65-gdbad