diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-18 21:24:54 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-18 21:24:54 +0200 |
commit | 8e2afc92fd4c6ea5779beb07d5769b27d02e91f8 (patch) | |
tree | c13f613d6a466a776026542eb5dc87e5bedc4624 /dev-ruby/liquid-c | |
parent | dev-ruby/googleapis-common-protos-types: new package, add 1.8.0 (diff) | |
download | gentoo-8e2afc92fd4c6ea5779beb07d5769b27d02e91f8.tar.gz gentoo-8e2afc92fd4c6ea5779beb07d5769b27d02e91f8.tar.bz2 gentoo-8e2afc92fd4c6ea5779beb07d5769b27d02e91f8.zip |
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 <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/liquid-c')
-rw-r--r-- | dev-ruby/liquid-c/liquid-c-4.1.0.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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 |