commit:     7b4bf0a9915126aa19b657e558b795beb9cd10e5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 31 03:27:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 17:59:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b4bf0a9

dev-ruby/strptime: enable ruby32, fix tests

Closes: https://bugs.gentoo.org/775380
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/strptime/strptime-0.2.5-r2.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/strptime/strptime-0.2.5-r2.ebuild 
b/dev-ruby/strptime/strptime-0.2.5-r2.ebuild
index bec5f0bd8e88..242c6d1840de 100644
--- a/dev-ruby/strptime/strptime-0.2.5-r2.ebuild
+++ b/dev-ruby/strptime/strptime-0.2.5-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_EXTRADOC="README.md"
 
@@ -29,3 +29,8 @@ IUSE=""
 all_ruby_prepare() {
        sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
 }
+
+each_ruby_test() {
+       local -x TZ=UTC # bug #775380
+       each_fakegem_test
+}

Reply via email to