summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-26 20:44:14 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-26 21:07:49 +0200
commit7111500c6147dc7d45a37be6744a7183812f3594 (patch)
treeae86fc45c0269e38266fbe886ad5fec68d403c38 /dev-ruby/ritex
parentdev-ruby/rouge: drop 3.30.0, 4.1.0 (diff)
downloadgentoo-7111500c6147dc7d45a37be6744a7183812f3594.tar.gz
gentoo-7111500c6147dc7d45a37be6744a7183812f3594.tar.bz2
gentoo-7111500c6147dc7d45a37be6744a7183812f3594.zip
dev-ruby/ritex: enable ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ritex')
-rw-r--r--dev-ruby/ritex/ritex-1.0.1-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-ruby/ritex/ritex-1.0.1-r1.ebuild b/dev-ruby/ritex/ritex-1.0.1-r1.ebuild
index b7ddb95e158f..e4185dbe83ec 100644
--- a/dev-ruby/ritex/ritex-1.0.1-r1.ebuild
+++ b/dev-ruby/ritex/ritex-1.0.1-r1.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="ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README ReleaseNotes"
@@ -22,7 +22,9 @@ DEPEND+=" test? ( app-text/itex2mml )"
all_ruby_prepare() {
# Fix tests
- sed -i -e "s#\./itex2MML#/usr/bin/itex2MML#;142d" test/mathml.rb || die
+ sed -e "s#\./itex2MML#/usr/bin/itex2MML#;142d" \
+ -e 's/File.exists/File.exist/' \
+ -i test/mathml.rb || die
sed -i -e "12d" test/answer-key.yaml || die
}