public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2011-03-06 15:28 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2011-03-06 15:28 UTC (permalink / raw
  To: gentoo-commits

commit:     36f381afdf2a201d084e20c58d8bc905f8a8af08
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Mar  6 15:27:39 2011 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 15:27:39 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=36f381af

eselect-ruby: Don't try to set man symlinks if FEATURES=noman is enabled

Reported-By: Eduardo Tongson <propolice <AT> gmail.com>

---
 eselect-ruby/ruby.eselect |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 46e0828..5f48eb4 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,10 +1,10 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-DESCRIPTION="Manage ruby symlinks"
+DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20100603"
-VERSION="20100603"
+SVN_DATE="20110306"
+VERSION="20110306"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
@@ -45,7 +45,7 @@ remove_symlinks() {
 }
 
 create_man_symlinks() {
-	local version=${1} 
+	local version=${1}
 
 	for m in ${ROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma}
 	do
@@ -80,8 +80,8 @@ create_symlinks() {
 		echo "If you need RubyGems, emerge dev-ruby/rubygems with the appropriate RUBY_TARGETS setting."
 		echo
 	fi
-	
-	create_man_symlinks ${version}
+
+	[[ $(portageq envvar FEATURES) =~ noman ]] || create_man_symlinks ${version}
 
 	write_list_start "Successfully switched to profile:"
 	write_kv_list_entry "${target}" ""



^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2012-01-05 21:47 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2012-01-05 21:47 UTC (permalink / raw
  To: gentoo-commits

commit:     3c45830469dbff343b9fdb1193b8369c311ed4f1
Author:     Alex Legler <a3li <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 21:45:00 2012 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 21:45:00 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=3c458304

More Prefix support, bug 396701.

Also, it's 2012.

---
 eselect-ruby/ruby.eselect |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 5f48eb4..b237917 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,16 +1,16 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20110306"
-VERSION="20110306"
+SVN_DATE="20120105"
+VERSION="20120105"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${ROOT}${bindir}/${1:-ruby}{18,19,20,ee18} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,ee18} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done
@@ -32,7 +32,7 @@ check_target() {
 		fi
 	# `rubyXX' string
 	else
-	[[ -e "${ROOT}${bindir}/${target}" ]] || \
+	[[ -e "${EROOT}${bindir}/${target}" ]] || \
 			target="invalid"
 	fi
 
@@ -40,14 +40,14 @@ check_target() {
 }
 
 remove_symlinks() {
-	rm -f ${ROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc,testrb} && \
-	rm -f ${ROOT}${man1dir}/ruby.{1,1.gz,1.bz2,1.lzma}
+	rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc,testrb} && \
+	rm -f ${EROOT}${man1dir}/ruby.{1,1.gz,1.bz2,1.lzma}
 }
 
 create_man_symlinks() {
 	local version=${1}
 
-	for m in ${ROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma}
+	for m in ${EROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma}
 	do
 		if [[ -e ${m} ]] ; then
 			break
@@ -63,7 +63,7 @@ create_symlinks() {
 
 	version=${target##*ruby}
 	
-	local path="${ROOT}${bindir}/"
+	local path="${EROOT}${bindir}/"
 	# these have to work
 	for f in "ruby" "irb" "erb" "ri" "testrb" "rdoc" ; do
 		ln -s "${f}${version}" "${path}${f}" || \
@@ -98,23 +98,23 @@ do_show() {
 	local rb=""
 
 	write_list_start "Current Ruby version:"
-	if [[ -L "${ROOT}${bindir}/ruby" ]] ; then
-		rb=$(basename $(canonicalise ${ROOT}${bindir}/ruby ) )
+	if [[ -L "${EROOT}${bindir}/ruby" ]] ; then
+		rb=$(basename $(canonicalise ${EROOT}${bindir}/ruby ) )
 		write_kv_list_entry $rb ""
-	elif [[ -e "${ROOT}${bindir}/ruby" ]] ; then
+	elif [[ -e "${EROOT}${bindir}/ruby" ]] ; then
 		write_warning_msg "${bindir}/ruby is a SLOT incompatible version."
-		write_kv_list_entry "$(basename $(canonicalise ${ROOT}${bindir}/ruby ) )" ""
+		write_kv_list_entry "$(basename $(canonicalise ${EROOT}${bindir}/ruby ) )" ""
 	else
 		write_kv_list_entry "(none)"
 		return 1
 	fi
 	
 	write_list_start "Current Rubygems version:"
-	if [[ -L "${ROOT}${bindir}/gem" ]] ; then
-		write_kv_list_entry "$(basename $(canonicalise ${ROOT}${bindir}/gem ) )" ""
-	elif [[ -e "${ROOT}${bindir}/gem" ]] ; then
+	if [[ -L "${EROOT}${bindir}/gem" ]] ; then
+		write_kv_list_entry "$(basename $(canonicalise ${EROOT}${bindir}/gem ) )" ""
+	elif [[ -e "${EROOT}${bindir}/gem" ]] ; then
 		write_warning_msg "${bindir}/gem is a SLOT incompatible version."
-		write_kv_list_entry "$(basename $(canonicalise ${ROOT}${bindir}/gem) )" ""
+		write_kv_list_entry "$(basename $(canonicalise ${EROOT}${bindir}/gem) )" ""
 	else
 		write_kv_list_entry "gem??" "(not found)"
 	fi
@@ -139,7 +139,7 @@ do_list() {
 		fi
 
 		# find out the current version
-		if [[ ${targets[i]} = $(canonicalise "${ROOT}${bindir}/ruby") ]] ; then
+		if [[ ${targets[i]} = $(canonicalise "${EROOT}${bindir}/ruby") ]] ; then
 			targets[i]=$(highlight_marker "${line}")
 		else
 			targets[i]=${line}
@@ -183,7 +183,7 @@ do_cleanup() {
 	[[ -z ${@} ]] || die -q "This function does not expect any arguments"
 
 	# Do we need to clean up?
-	if [[ -e "${ROOT}${bindir}"/$(readlink "${ROOT}${bindir}/ruby") ]]; then
+	if [[ -e "${EROOT}${bindir}"/$(readlink "${EROOT}${bindir}/ruby") ]]; then
 		echo "Nothing to clean up."
 		return
 	fi



^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2013-08-14 12:04 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2013-08-14 12:04 UTC (permalink / raw
  To: gentoo-commits

commit:     240ddd5ec8c0d5227df3ce856e3e8106fb8847dc
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Wed Aug 14 11:47:43 2013 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 11:47:43 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=240ddd5e

ruby.eselect: modeline magic

---
 eselect-ruby/ruby.eselect | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index b237917..ad4fa7c 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,5 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+# vim: set ft=sh:
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2013-08-14 12:04 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2013-08-14 12:04 UTC (permalink / raw
  To: gentoo-commits

commit:     7d5fa5da14b8001ac11631e95d9091c7ff0707ea
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Wed Aug 14 11:51:03 2013 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 11:51:03 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=7d5fa5da

ruby.eselect: Bump copyright year and version

---
 eselect-ruby/ruby.eselect | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 0af6cbf..dcb05ee 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,11 +1,11 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # vim: set ft=sh:
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20120105"
-VERSION="20120105"
+SVN_DATE="20130814"
+VERSION="20130814"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2013-08-14 12:04 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2013-08-14 12:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b01f1a87e61421abba2ecba3c8e0336a2b5f7044
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Wed Aug 14 11:47:59 2013 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 11:47:59 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=b01f1a87

ruby.eselect: Rework manpage handling

Ruby >= 1.9 has erb, irb, and ri manpages in addition to the ruby.1,
support these.

Also, set links compression-agnostically (does that word even exist?),
fixing bug 480004.

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

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index ad4fa7c..34063a8 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -42,21 +42,20 @@ check_target() {
 
 remove_symlinks() {
 	rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc,testrb} && \
-	rm -f ${EROOT}${man1dir}/ruby.{1,1.gz,1.bz2,1.lzma}
+	rm -f ${EROOT}${man1dir}/{ruby,irb,erb,ri}.1*
 }
 
-create_man_symlinks() {
+create_man_links() {
 	local version=${1}
 
-	for m in ${EROOT}${man1dir}/ruby${version}.{1,1.gz,1.bz2,1.lzma}
-	do
-		if [[ -e ${m} ]] ; then
-			break
-		fi
+	for manpage in "ruby" "irb" "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 || \
+					write_error_msg "Could not set up manpage link for ${manpage}.1"
+			fi
+		done
 	done
-
-	ln -s "${m}" "${m/ruby${version}/ruby}" || \
-		write_error_msg "Could not set man symlink"
 }
 
 create_symlinks() {
@@ -82,7 +81,7 @@ create_symlinks() {
 		echo
 	fi
 
-	[[ $(portageq envvar FEATURES) =~ noman ]] || create_man_symlinks ${version}
+	[[ $(portageq envvar FEATURES) =~ noman ]] || create_man_links ${version}
 
 	write_list_start "Successfully switched to profile:"
 	write_kv_list_entry "${target}" ""


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2013-08-14 12:04 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2013-08-14 12:04 UTC (permalink / raw
  To: gentoo-commits

commit:     dd989755919bae6afc09933e21ad86f1032a2aa8
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Wed Aug 14 11:49:56 2013 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 11:49:56 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=dd989755

ruby.eselect: Remove REE as supported target

---
 eselect-ruby/ruby.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 34063a8..0af6cbf 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -11,7 +11,7 @@ bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,ee18} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2013-12-27  7:35 Alex Legler
  0 siblings, 0 replies; 26+ messages in thread
From: Alex Legler @ 2013-12-27  7:35 UTC (permalink / raw
  To: gentoo-commits

commit:     626d6cc7c02bb70d50742b200f19af28db389ef2
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Fri Dec 27 07:34:20 2013 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Fri Dec 27 07:34:20 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=626d6cc7

eselect-ruby-20131127: Support ruby21

---
 eselect-ruby/ruby.eselect | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index dcb05ee..48df65e 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20130814"
-VERSION="20130814"
+SVN_DATE="20131227"
+VERSION="20131227"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2014-12-27 19:07 Manuel Rüger
  0 siblings, 0 replies; 26+ messages in thread
From: Manuel Rüger @ 2014-12-27 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     f76e58268a13658b4496d4d2ac15a59268bad445
Author:     Manuel Rüger <manuel <AT> rueg <DOT> eu>
AuthorDate: Sat Dec 27 19:07:05 2014 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Dec 27 19:07:05 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=f76e5826

Add ruby 2.2 to eselect module.

---
 eselect-ruby/ruby.eselect | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 48df65e..883d1ff 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,17 +1,17 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # vim: set ft=sh:
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20131227"
-VERSION="20131227"
+SVN_DATE="20141227"
+VERSION="20141227"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2015-12-29 10:39 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2015-12-29 10:39 UTC (permalink / raw
  To: gentoo-commits

commit:     8d1eff1ae8b4e0230fefd1f7087ee22ce2c0c1d1
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Dec 29 10:39:13 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:39:13 2015 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=8d1eff1a

Add ruby23 support

 eselect-ruby/ruby.eselect | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 883d1ff..2dfcd33 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="a3li@gentoo.org"
-SVN_DATE="20141227"
-VERSION="20141227"
+SVN_DATE="20151229"
+VERSION="20151229"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done
@@ -62,7 +62,7 @@ create_symlinks() {
 	local target=${1} version
 
 	version=${target##*ruby}
-	
+
 	local path="${EROOT}${bindir}/"
 	# these have to work
 	for f in "ruby" "irb" "erb" "ri" "testrb" "rdoc" ; do
@@ -108,7 +108,7 @@ do_show() {
 		write_kv_list_entry "(none)"
 		return 1
 	fi
-	
+
 	write_list_start "Current Rubygems version:"
 	if [[ -L "${EROOT}${bindir}/gem" ]] ; then
 		write_kv_list_entry "$(basename $(canonicalise ${EROOT}${bindir}/gem ) )" ""
@@ -163,11 +163,11 @@ describe_set_parameters() {
 
 do_set() {
 	[[ -z ${@} ]] && die -q "Parameter expected."
-	
+
 	local target=$(check_target ${1})
-	
+
 	[[ $target = "invalid" ]] && die -q "Can't use that profile. No suitable Ruby interpreter found."
-	
+
 	remove_symlinks || \
 		die -q "Could not remove symlinks"
 


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2015-12-29 10:56 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2015-12-29 10:56 UTC (permalink / raw
  To: gentoo-commits

commit:     4ce6bfa9ce17f0dc60c9316608babcbbd8ff3758
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Dec 29 10:56:20 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:56:20 2015 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=4ce6bfa9

Switch maintainer to ruby <AT> gentoo.org.

As discussed with a3li on #gentoo-ruby on 2015-12-29.

 eselect-ruby/ruby.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 2dfcd33..9dba12e 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -3,7 +3,7 @@
 # vim: set ft=sh:
 
 DESCRIPTION="Manage Ruby symlinks"
-MAINTAINER="a3li@gentoo.org"
+MAINTAINER="ruby@gentoo.org"
 SVN_DATE="20151229"
 VERSION="20151229"
 


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2016-12-26 16:38 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2016-12-26 16:38 UTC (permalink / raw
  To: gentoo-commits

commit:     0b97eab158912969897a7f8c4710fb9fb7c8733c
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Dec 26 16:38:34 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 16:38:34 2016 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=0b97eab1

Add support for ruby24

 eselect-ruby/ruby.eselect | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 9dba12e..efead1e 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-SVN_DATE="20151229"
-VERSION="20151229"
+SVN_DATE="20161226"
+VERSION="20161226"
 
 bindir=/usr/bin
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2017-07-23  7:46 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2017-07-23  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     4fc29bf4ea65cf7b3ae3a02c6a9277f2b4e70132
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Jul 23 07:36:18 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 07:36:18 2017 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=4fc29bf4

Remove obsolete and unused SVN_DATE

 eselect-ruby/ruby.eselect | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 1a7f059..ec2668e 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,7 +4,6 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-SVN_DATE="20161226"
 VERSION="20161226"
 
 bindir=/usr/bin


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2017-07-23  7:46 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2017-07-23  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e739451d7c11f75eec38636e6854dc82ba7b19eb
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Jul 23 07:37:03 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 07:37:03 2017 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=e739451d

Update VERSION for new release

 eselect-ruby/ruby.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index ec2668e..94da1a4 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,7 +4,7 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20161226"
+VERSION="20170723"
 
 bindir=/usr/bin
 libdir=/usr/lib


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2017-07-23  7:46 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2017-07-23  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     550be1b9278fdbd713c29e6dff6833dc2ab4fb18
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon May 30 16:57:53 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 07:35:16 2017 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=550be1b9

Remove legacy libruby.so link

Our ebuilds for Ruby 1.8 and older versions installed an unversioned
link called libruby.so. This method was flawed because the shared
library is not ABI compatible and thus cannot be managed by switching a
shared link. Later versions of Ruby ebuilds no longer install this link,
but on old systems a dangling link may still be present. This can lead
to problems with the cmake recipes for Ruby, bug 582672.

This patch removes the link when removing symlinks as part of an eselect
change.

 eselect-ruby/ruby.eselect | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index efead1e..1a7f059 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -8,6 +8,7 @@ SVN_DATE="20161226"
 VERSION="20161226"
 
 bindir=/usr/bin
+libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
@@ -43,6 +44,13 @@ check_target() {
 remove_symlinks() {
 	rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc,testrb} && \
 	rm -f ${EROOT}${man1dir}/{ruby,irb,erb,ri}.1*
+
+	# Remove unversioned legacy link set by ruby 1.8 and earlier
+	# see bug 582672
+	local link="${EROOT}${libdir}/libruby.so"
+	if [[ -e ${link} ]]; then
+		rm -f ${link}
+	fi
 }
 
 create_man_links() {


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2017-12-25  7:33 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2017-12-25  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     5cbf932cfbd539db467c42190eae3307f0ee2703
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Dec 25 07:33:23 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 07:33:23 2017 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=5cbf932c

Add ruby25 support

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index e24cf35..81e8a2e 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20170723"
+VERSION="20171225"
 
 bindir=/usr/bin
 libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2017-12-25  7:33 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2017-12-25  7:33 UTC (permalink / raw
  To: gentoo-commits

commit:     84670f98c7b41205bbe0848c53fd85727045cf7c
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Dec 25 07:32:26 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 07:32:26 2017 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=84670f98

Update copyright date

 eselect-ruby/ruby.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 94da1a4..e24cf35 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # vim: set ft=sh:
 


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2018-12-25  6:28 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2018-12-25  6:28 UTC (permalink / raw
  To: gentoo-commits

commit:     70c8a58183bf8f144d8932f2f8af5ac63c5ff869
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Dec 25 06:21:10 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 25 06:28:40 2018 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=70c8a581

eselect-ruby: support ruby 2.6

Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 81e8a2e..0a01747 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20171225"
+VERSION="20182225"
 
 bindir=/usr/bin
 libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2019-01-21 18:36 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2019-01-21 18:36 UTC (permalink / raw
  To: gentoo-commits

commit:     d6f5cc047dde8884047d68e7fd2a9f25060b5bf1
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Jan 21 18:20:04 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 21 18:31:24 2019 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=d6f5cc04

Stop creating broken legacy testrb link

dev-lang/ruby no longer installs a testrb script, and
dev-ruby/test-unit installs testrb-2 which is not subject to the
eselect module. Stop installing a broken testrb link and remove it
when it still exists.

Bug: https://bugs.gentoo.org/644628
Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

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

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 0a01747..aa30fb0 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -41,9 +41,15 @@ check_target() {
 }
 
 remove_symlinks() {
-	rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc,testrb} && \
+	rm -f ${EROOT}${bindir}/{ruby,gem,irb,erb,ri,rdoc} && \
 	rm -f ${EROOT}${man1dir}/{ruby,irb,erb,ri}.1*
 
+	# Remove legacy testrb link if it still exists.
+	local testrb="${EROOT}${bindir}/testrb"
+	if [[ -L ${testrb} ]]; then
+		rm -f ${testrb}
+	fi
+
 	# Remove unversioned legacy link set by ruby 1.8 and earlier
 	# see bug 582672
 	local link="${EROOT}${libdir}/libruby.so"
@@ -72,7 +78,7 @@ create_symlinks() {
 
 	local path="${EROOT}${bindir}/"
 	# these have to work
-	for f in "ruby" "irb" "erb" "ri" "testrb" "rdoc" ; do
+	for f in "ruby" "irb" "erb" "ri" "rdoc" ; do
 		ln -s "${f}${version}" "${path}${f}" || \
 			die -q "Could not set ${f} symlink"
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2019-12-22  9:05 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2019-12-22  9:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4e5c237fd3657d0e482c3a181310014f36c81054
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Dec 22 09:04:30 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 09:05:03 2019 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=4e5c237f

Support ruby 2.7

Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index aa30fb0..843be75 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20182225"
+VERSION="20192222"
 
 bindir=/usr/bin
 libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2020-12-25  8:01 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2020-12-25  8:01 UTC (permalink / raw
  To: gentoo-commits

commit:     ec6c22f91738354fd5e720ffe1708af7e816d3f9
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Fri Dec 25 08:00:35 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 08:01:07 2020 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=ec6c22f9

Add support for ruby 3.0

Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 843be75..4bc0fab 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20192222"
+VERSION="20201225"
 
 bindir=/usr/bin
 libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2022-03-13  7:11 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2022-03-13  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b855ce0214905386ad7a54d8f3e3796d7069f75c
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Mar 13 07:07:07 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 07:11:05 2022 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=b855ce02

Add support for ruby 3.1

Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 4bc0fab..5041627 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20201225"
+VERSION="20220313"
 
 bindir=/usr/bin
 libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30,31} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2023-04-09  7:37 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2023-04-09  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e3d6c267e5b360bcb6e965142fb870945db2ea14
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Dec 25 13:20:17 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr  9 07:36:56 2023 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=e3d6c267

Add support for ruby32

Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 5041627..35fc952 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -11,7 +11,7 @@ libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30,31} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30,31,32} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2023-08-13  6:41 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2023-08-13  6:41 UTC (permalink / raw
  To: gentoo-commits

commit:     58fd812b32a2958a2675da6a86b80ad944d83517
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 07:11:13 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 06:40:00 2023 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=58fd812b

ruby.eselect: Call create_man_links unconditionally

This avoids calling portageq. create_man_links() will do nothing when
the target man page doesn't exist, regardless of FEATURES="noman".

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 35fc952..1071d77 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # vim: set ft=sh:
 
@@ -94,7 +94,7 @@ create_symlinks() {
 		echo
 	fi
 
-	[[ $(portageq envvar FEATURES) =~ noman ]] || create_man_links ${version}
+	create_man_links ${version}
 
 	write_list_start "Successfully switched to profile:"
 	write_kv_list_entry "${target}" ""


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2023-08-13  6:41 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2023-08-13  6:41 UTC (permalink / raw
  To: gentoo-commits

commit:     dd9ba3c03014eda55f6bd0d3e042cef51a3e787b
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Aug 13 06:38:29 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 06:40:51 2023 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=dd9ba3c0

ruby.eselect: update version number

Fixes: https://bugs.gentoo.org/908052
Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>

 eselect-ruby/ruby.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 1071d77..ef0fc1b 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,7 +4,7 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20220313"
+VERSION="20230616"
 
 bindir=/usr/bin
 libdir=/usr/lib


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2023-10-08  8:39 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2023-10-08  8:39 UTC (permalink / raw
  To: gentoo-commits

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="ruby@gentoo.org"
-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


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/
@ 2023-12-26  8:24 Hans de Graaff
  0 siblings, 0 replies; 26+ messages in thread
From: Hans de Graaff @ 2023-12-26  8:24 UTC (permalink / raw
  To: gentoo-commits

commit:     e2f098bd0e7ecb154f6ce6872837147a596243a9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 07:22:26 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 07:22:26 2023 +0000
URL:        https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=e2f098bd

eselect-ruby: add support for ruby33

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

 eselect-ruby/ruby.eselect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect
index 6b97f82..b89b998 100644
--- a/eselect-ruby/ruby.eselect
+++ b/eselect-ruby/ruby.eselect
@@ -4,14 +4,14 @@
 
 DESCRIPTION="Manage Ruby symlinks"
 MAINTAINER="ruby@gentoo.org"
-VERSION="20231008"
+VERSION="20231226"
 
 bindir=/usr/bin
 libdir=/usr/lib
 man1dir=/usr/share/man/man1
 
 find_targets() {
-	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30,31,32} ; do
+	for t in ${EROOT}${bindir}/${1:-ruby}{18,19,20,21,22,23,24,25,26,27,30,31,32,33} ; do
 		[[ -e $t ]] || continue
 		echo ${t}
 	done


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-12-26  8:24 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-13  7:11 [gentoo-commits] proj/ruby-scripts:master commit in: eselect-ruby/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2023-12-26  8:24 Hans de Graaff
2023-10-08  8:39 Hans de Graaff
2023-08-13  6:41 Hans de Graaff
2023-08-13  6:41 Hans de Graaff
2023-04-09  7:37 Hans de Graaff
2020-12-25  8:01 Hans de Graaff
2019-12-22  9:05 Hans de Graaff
2019-01-21 18:36 Hans de Graaff
2018-12-25  6:28 Hans de Graaff
2017-12-25  7:33 Hans de Graaff
2017-12-25  7:33 Hans de Graaff
2017-07-23  7:46 Hans de Graaff
2017-07-23  7:46 Hans de Graaff
2017-07-23  7:46 Hans de Graaff
2016-12-26 16:38 Hans de Graaff
2015-12-29 10:56 Hans de Graaff
2015-12-29 10:39 Hans de Graaff
2014-12-27 19:07 Manuel Rüger
2013-12-27  7:35 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2013-08-14 12:04 Alex Legler
2012-01-05 21:47 Alex Legler
2011-03-06 15:28 Alex Legler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox