From 21bbc35f7c83ece8151e1c1a3618ca180ed525e8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 7 Apr 2023 18:49:41 +0100 Subject: dev-ruby/ruby-gettext: enable ruby32, fix tests Closes: https://bugs.gentoo.org/730258 Signed-off-by: Sam James --- dev-ruby/ruby-gettext/ruby-gettext-3.4.3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-ruby/ruby-gettext') 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" -- cgit v1.2.3-65-gdbad