commit:     1a132f4e09d9628dee499d78f5e20b9a742c2317
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 15:00:27 2026 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 15:47:45 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a132f4e

dev-ruby/cliver: enable ruby40

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

 dev-ruby/cliver/cliver-0.3.2-r2.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/cliver/cliver-0.3.2-r2.ebuild 
b/dev-ruby/cliver/cliver-0.3.2-r2.ebuild
index 2394ef3f280a..a987e08421f5 100644
--- a/dev-ruby/cliver/cliver-0.3.2-r2.ebuild
+++ b/dev-ruby/cliver/cliver-0.3.2-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
@@ -27,5 +28,7 @@ IUSE="test"
 ruby_add_bdepend "test? ( dev-ruby/rspec-its )"
 
 all_ruby_prepare() {
-       sed -i -e 's/git ls-files/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
+       sed -e 's/git ls-files/find */' \
+               -e '/has_rdoc/ s:^:#:' \
+               -i ${RUBY_FAKEGEM_GEMSPEC} || die
 }

Reply via email to