summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-06 08:59:42 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-06 09:02:11 +0100
commit02d60b3933f6011de7ccba99bcc3a673eb32551e (patch)
tree814238a49711ccb3fca22ec7d850cf5776961f5a
parentdev-ruby/tzinfo: enable ruby33 (diff)
downloadgentoo-02d60b3933f6011de7ccba99bcc3a673eb32551e.tar.gz
gentoo-02d60b3933f6011de7ccba99bcc3a673eb32551e.tar.bz2
gentoo-02d60b3933f6011de7ccba99bcc3a673eb32551e.zip
dev-ruby/i18n: enable ruby33
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/i18n/i18n-1.14.1.ebuild9
1 files 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"
;;