commit: 02d60b3933f6011de7ccba99bcc3a673eb32551e Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Jan 6 07:59:42 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Jan 6 08:02:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d60b39
dev-ruby/i18n: enable ruby33 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/i18n/i18n-1.14.1.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-ruby/i18n/i18n-1.14.1.ebuild b/dev-ruby/i18n/i18n-1.14.1.ebuild index 8046857dc80b..5a6083d32802 100644 --- a/dev-ruby/i18n/i18n-1.14.1.ebuild +++ b/dev-ruby/i18n/i18n-1.14.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" @@ -36,7 +36,7 @@ all_ruby_prepare() { sed -i -e '/oj/ s:^:#:' gemfiles/* || die # Update old test dependencies - sed -i -e '/rake/ s/~>/>=/' -e '/mocha/ s/1.7.0/2.0/' -e '3igem "json"' gemfiles/* || die + sed -i -e '/rake/ s/~>/>=/' -e '/mocha/ s/1.7.0/2.0/' -e '3igem "json"' -e '4igem "racc"' gemfiles/* || die # Use mocha 2 to avoid minitest deprecation issues. sed -i -e 's:mocha/setup:mocha/minitest:' test/test_helper.rb || die @@ -44,6 +44,9 @@ all_ruby_prepare() { each_ruby_test() { case ${RUBY} in + *ruby33) + versions="7.0" + ;; *ruby32) versions="6.1 7.0" ;;