commit:     40d8f2609158dc9e80ae57abe9d9801b69f7ec6e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 07:50:11 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 09:04:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d8f260

dev-ruby/rinda: enable ruby34

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rinda/rinda-0.2.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/rinda/rinda-0.2.0.ebuild 
b/dev-ruby/rinda/rinda-0.2.0.ebuild
index fdbea15e752b..dcbebd6d6ddd 100644
--- a/dev-ruby/rinda/rinda-0.2.0.ebuild
+++ b/dev-ruby/rinda/rinda-0.2.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33"
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
 
 RUBY_FAKEGEM_BINWRAP=""
 RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -33,6 +33,11 @@ all_ruby_prepare() {
                -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
                -e 's/git ls-files -z/find * -print0/' \
                -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+       # Ensure the new code in lib is tested also when calling out to
+       # another ruby instance.
+       sed -e '/rubybin/ s:-rdrb/drb:-Ilib -rdrb/drb:' \
+               -i test/rinda/test_rinda.rb || die
 }
 
 each_ruby_test() {

Reply via email to