summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-07 18:49:41 +0100
committerSam James <sam@gentoo.org>2023-04-07 19:09:53 +0100
commit21bbc35f7c83ece8151e1c1a3618ca180ed525e8 (patch)
tree4beb177166a4ab08b932e2bac6abd0a742cdac21 /dev-ruby/ruby-gettext
parentdev-ruby/autoprefixer-rails: enable ruby31 (diff)
downloadgentoo-21bbc35f7c83ece8151e1c1a3618ca180ed525e8.tar.gz
gentoo-21bbc35f7c83ece8151e1c1a3618ca180ed525e8.tar.bz2
gentoo-21bbc35f7c83ece8151e1c1a3618ca180ed525e8.zip
dev-ruby/ruby-gettext: enable ruby32, fix tests
Closes: https://bugs.gentoo.org/730258 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-gettext')
-rw-r--r--dev-ruby/ruby-gettext/ruby-gettext-3.4.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.4.3.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.4.3.ebuild
index 6101983998fa..2b698611ddfd 100644
--- a/dev-ruby/ruby-gettext/ruby-gettext-3.4.3.ebuild
+++ b/dev-ruby/ruby-gettext/ruby-gettext-3.4.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_NAME="${PN/ruby-/}"
RUBY_FAKEGEM_VERSION="${PV%_*}"
@@ -54,6 +54,10 @@ all_ruby_prepare() {
}
each_ruby_test() {
+ # Borrowed from Fedora
+ local -x LANG=C.UTF-8
+ local -x LANGUAGE=ja_JP.utf8
+
# Upstream tries to daisy-chain rake calls but they fail badly
# with our setup, so run it manually.
${RUBY} test/run-test.rb || die "tests failed"