commit: 8fe538b09d3eae012ef5bdc99832a445304a8a69 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Sep 10 16:51:42 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Sep 10 16:57:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe538b0
dev-ruby/image_processing: fix minitest deprecation Closes: https://bugs.gentoo.org/911953 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/image_processing/image_processing-1.12.2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-ruby/image_processing/image_processing-1.12.2.ebuild b/dev-ruby/image_processing/image_processing-1.12.2.ebuild index 8442915b178d..0e84e582aef1 100644 --- a/dev-ruby/image_processing/image_processing-1.12.2.ebuild +++ b/dev-ruby/image_processing/image_processing-1.12.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="none" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md doc/*.md" @@ -42,4 +42,7 @@ all_ruby_prepare() { sed -i -e '/\(assert\|refute\)_similar/ s:^:#:' test/*_test.rb || die sed -i -e '/\(bundler\|phashion\|vips\)/ s:^:#:' Rakefile test/test_helper.rb || die + + # Fix minitest deprecation + sed -i -e 's/MiniTest/Minitest/' test/test_helper.rb || die }