summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-23 06:31:58 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-23 06:32:08 +0200
commitd7b3a651cd5128ad585c1c2e5cf603da0d47aabc (patch)
treee02626a615e6d3f95a29407b18bd15c6ca80f870 /dev-ruby/sassc
parentdev-ruby/rbs: add 3.2.0 (diff)
downloadgentoo-d7b3a651cd5128ad585c1c2e5cf603da0d47aabc.tar.gz
gentoo-d7b3a651cd5128ad585c1c2e5cf603da0d47aabc.tar.bz2
gentoo-d7b3a651cd5128ad585c1c2e5cf603da0d47aabc.zip
dev-ruby/sassc: fix minitest deprecation
Closes: https://bugs.gentoo.org/912022 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sassc')
-rw-r--r--dev-ruby/sassc/sassc-2.4.0-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/sassc/sassc-2.4.0-r1.ebuild b/dev-ruby/sassc/sassc-2.4.0-r1.ebuild
index e84829351fdb..0fe002fe34e8 100644
--- a/dev-ruby/sassc/sassc-2.4.0-r1.ebuild
+++ b/dev-ruby/sassc/sassc-2.4.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby30 ruby31 ruby32"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_DOCDIR="doc"
@@ -40,6 +40,9 @@ all_ruby_prepare() {
# Avoid version-specific test so newer libsass versions can be used.
sed -i -e '/test_it_reports_the_libsass_version/,/end/ s:^:#:' test/native_test.rb || die
+ # Fix minitest deprecation
+ sed -i -e 's/MiniTest/Minitest/' test/*_test.rb || die
+
sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die
}