commit: 821c9de23a38f53edd930d3ab9613b0b763b7569 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Sep 15 16:47:37 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Sep 16 04:23:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=821c9de2
app-text/webgen: fix minitest deprecation Closes: https://bugs.gentoo.org/911743 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> app-text/webgen/webgen-1.7.2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-text/webgen/webgen-1.7.2.ebuild b/app-text/webgen/webgen-1.7.2.ebuild index 50a71eab42a2..f6e1b0bec434 100644 --- a/app-text/webgen/webgen-1.7.2.ebuild +++ b/app-text/webgen/webgen-1.7.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_DOC="task" RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc" @@ -46,6 +46,9 @@ all_ruby_prepare() { # Avoid tests failing with newer Psych versions rm -f test/test_documentation.rb || die + + # Fix minitest deprecation + sed -i -e 's/MiniTest/Minitest/' $(find test -type f -print) || die } all_ruby_install() {