commit:     c717ca0b202a2480ac307b5ad09073e90d0145d7
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  8 08:15:27 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 08:38:57 2023 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=c717ca0b

eselect-ruby: stop managing irb

The irb code is spun off into a gem now (in dev-ruby/irb) and upstream
recommends to use this version with all ruby versions, rather than the
vendored version.

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

 eselect-ruby/ruby.eselect | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index ef0fc1b..6b97f82 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,7 +4,7 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="[email protected]"
-VERSION="20230616"
+VERSION="20231008"
 
 bindir=/usr/bin
 libdir=/usr/lib
@@ -41,8 +41,8 @@ check_target() {
 }
 
 remove_symlinks() {
-       rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc} && \
-       rm -f ${EROOT}${man1dir}/{ruby,irb,erb,ri}.1*
+       rm -f ${EROOT}${bindir}/{ruby,gem,erb,ri,rdoc} && \
+       rm -f ${EROOT}${man1dir}/{ruby,erb,ri}.1*
 
        # Remove legacy testrb link if it still exists.
        local testrb="${EROOT}${bindir}/testrb"
@@ -61,7 +61,7 @@ remove_symlinks() {
 create_man_links() {
        local version=${1}
 
-       for manpage in "ruby" "irb" "erb" "ri" ; do
+       for manpage in "ruby" "erb" "ri" ; do
                for m in ${EROOT}${man1dir}/${manpage}${version}.1* ; do
                        if [[ -e ${m} ]]; then
                                echo ".so ${manpage}${version}.1" > 
${EROOT}${man1dir}/${manpage}.1 || \
@@ -78,7 +78,7 @@ create_symlinks() {
 
        local path="${EROOT}${bindir}/"
        # these have to work
-       for f in "ruby" "irb" "erb" "ri" "rdoc" ; do
+       for f in "ruby" "erb" "ri" "rdoc" ; do
                ln -s "${f}${version}" "${path}${f}" || \
                        die -q "Could not set ${f} symlink"
        done

Reply via email to