commit: 5a2cfcde0be6f6294fc93f506300302032433721
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 19 12:19:13 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 13:59:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2cfcde
dev-ruby/tty-editor: enable ruby33
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/tty-editor/tty-editor-0.7.0.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-ruby/tty-editor/tty-editor-0.7.0.ebuild
b/dev-ruby/tty-editor/tty-editor-0.7.0.ebuild
index 3eb336c2de5b..a82e855034fa 100644
--- a/dev-ruby/tty-editor/tty-editor-0.7.0.ebuild
+++ b/dev-ruby/tty-editor/tty-editor-0.7.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
@@ -28,4 +28,10 @@ all_ruby_prepare() {
each_ruby_prepare() {
mkdir tmp || die
+
+ case ${RUBY} in
+ *ruby33)
+ sed -e 's/* 3/* 5/' -i spec/integration/editor_spec.rb
|| die
+ ;;
+ esac
}