commit: 19093ca83fbfdc056402223c456606eb1e860c30
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 07:49:24 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 09:04:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19093ca8
dev-ruby/rspec-support: enable ruby32
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/rspec-support/rspec-support-3.12.0.ebuild | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild
b/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild
index d4946c6dbd09..c85aefbaa89e 100644
--- a/dev-ruby/rspec-support/rspec-support-3.12.0.ebuild
+++ b/dev-ruby/rspec-support/rspec-support-3.12.0.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="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -46,11 +46,14 @@ each_ruby_prepare() {
sed -i -e '/shell_out/ s:ruby:'${RUBY}':'
spec/rspec/support/spec/shell_out_spec.rb || die
case ${RUBY} in
- *ruby31)
+ *ruby31|*ruby32)
# Avoid specs failing when run in Gentoo, possibly due
to different IO
sed -e '/outputs unified diff message of two
arrays/askip "ruby31 IO"' \
-e '/outputs unified diff message for hashes
inside arrays with differing key orders/askip "ruby31 IO"' \
-i spec/rspec/support/differ_spec.rb || die
+
+ # Avoid specs broken on newer ruby versions and already
pending upstream
+ rm -f spec/rspec/support/reentrant_mutex_spec.rb
;;
esac
}