Created attachment 865013 [details, diff] Simplify _ruby_implementation_depend This simplifies condition blocks for ruby* to: --- ruby1[89]|ruby2[0-7]|ruby3[0-2]) rubypn="dev-lang/ruby" rubyslot=":${1:4:1}.${1:5}" ;; --- Please see attached patch file.
Looks good to me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba2e70baded5cbcabbfd03d7440d677cd955f23 commit 4ba2e70baded5cbcabbfd03d7440d677cd955f23 Author: konsolebox <konsolebox@gmail.com> AuthorDate: 2023-07-14 08:33:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-17 21:18:04 +0000 ruby-utils.eclass: Simplify _ruby_implementation_depend Closes: https://bugs.gentoo.org/909529 Signed-off-by: Sam James <sam@gentoo.org> eclass/ruby-utils.eclass | 52 ++---------------------------------------------- 1 file changed, 2 insertions(+), 50 deletions(-)