diff options
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ruby/ChangeLog | 120 | ||||
-rw-r--r-- | dev-lang/ruby/Manifest | 7 | ||||
-rw-r--r-- | dev-lang/ruby/files/ruby-2.0.0_p647-SVNr39186-asm-volatile.diff | 23 | ||||
-rw-r--r-- | dev-lang/ruby/files/ruby-2.0.0_p647-SVNr40636-asm-ilp32.diff | 22 | ||||
-rw-r--r-- | dev-lang/ruby/metadata.xml | 24 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-2.0.0_p647.ebuild | 233 |
6 files changed, 0 insertions, 429 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog deleted file mode 100644 index 90e12eea..00000000 --- a/dev-lang/ruby/ChangeLog +++ /dev/null @@ -1,120 +0,0 @@ - 26 Aug 2015; Bertrand Jacquin <bertrand@jacquin.bzh> - -files/ruby-1.9.3_p551-asm-ilp32+volatile.diff, -ruby-1.9.3_p551-r1.ebuild: - dev-lang/ruby: Drop since ruby 1.9 is being removed - -*ruby-2.0.0_p647 (22 Aug 2015) - - 22 Aug 2015; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-2.0.0_p647-SVNr39186-asm-volatile.diff, - +files/ruby-2.0.0_p647-SVNr40636-asm-ilp32.diff, +ruby-2.0.0_p647.ebuild, - -files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff, - -files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff, -ruby-2.0.0_p645.ebuild: - dev-lang/ruby: Version bump and sync with upstream - - 15 Aug 2015; Bertrand Jacquin <bertrand@jacquin.bzh> - ruby-1.9.3_p551-r1.ebuild, ruby-2.0.0_p645.ebuild: - dev-lang/ruby: Sync with upstream - -*ruby-1.9.3_p551-r1 (11 May 2015) -*ruby-2.0.0_p645 (11 May 2015) - - 11 May 2015; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-2.0.0_p645-SVNr39186-asm-volatile.diff, - +files/ruby-2.0.0_p645-SVNr40636-asm-ilp32.diff, +ruby-1.9.3_p551-r1.ebuild, - +ruby-2.0.0_p645.ebuild, -files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff, - -files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff, -ruby-1.9.3_p551.ebuild, - -ruby-2.0.0_p598.ebuild: - dev-lang/ruby: Sync with upstream - - 16 Apr 2015; Bertrand Jacquin <bertrand@jacquin.bzh> ruby-1.9.3_p551.ebuild, - ruby-2.0.0_p598.ebuild: - dev-lang/ruby: Move to app-eselect - - 31 Jan 2015; Bertrand Jacquin <bertrand@jacquin.bzh> ruby-2.0.0_p598.ebuild: - dev-lang/ruby: Move to CPU_FLAGS_X86 - -*ruby-1.9.3_p551 (25 Jan 2015) -*ruby-2.0.0_p598 (25 Jan 2015) - - 25 Jan 2015; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-1.9.3_p551-asm-ilp32+volatile.diff, - +files/ruby-2.0.0_p598-SVNr39186-asm-volatile.diff, - +files/ruby-2.0.0_p598-SVNr40636-asm-ilp32.diff, +ruby-1.9.3_p551.ebuild, - +ruby-2.0.0_p598.ebuild, -files/ruby-1.9.3_p547-asm-ilp32+volatile.diff, - -files/ruby-2.0.0_p576-SVNr39186-asm-volatile.diff, - -files/ruby-2.0.0_p576-SVNr40636-asm-ilp32.diff, -ruby-1.9.3_p547.ebuild, - -ruby-2.0.0_p576.ebuild: - dev-lang/ruby: Version bump, sync with upstream - -*ruby-2.0.0_p576 (28 Sep 2014) - - 28 Sep 2014; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-2.0.0_p576-SVNr39186-asm-volatile.diff, - +files/ruby-2.0.0_p576-SVNr40636-asm-ilp32.diff, +ruby-2.0.0_p576.ebuild, - -files/ruby-2.0.0_p481-SVNr39186-asm-volatile.diff, - -files/ruby-2.0.0_p481-SVNr40636-asm-ilp32.diff, -ruby-2.0.0_p481.ebuild: - dev-lang/ruby: Version bump, stick to upstream - -*ruby-1.9.3_p547 (19 May 2014) - - 19 May 2014; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-1.9.3_p547-asm-ilp32+volatile.diff, +ruby-1.9.3_p547.ebuild, - -files/ruby-1.9.3_p545-asm-ilp32+volatile.diff, -ruby-1.9.3_p545.ebuild: - dev-lang/ruby: Version bump synced with upstream - -*ruby-2.0.0_p481 (15 May 2014) - - 15 May 2014; Bertrand Jacquin <bertrand@jacquin.bzh> +ruby-2.0.0_p481.ebuild, - -ruby-2.0.0_p451.ebuild: - dev-lang/ruby: Bump and sync with upstream - -*ruby-2.0.0_p451 (07 Mar 2014) - - 07 Mar 2014; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-2.0.0_p451-SVNr39186-asm-volatile.diff, - +files/ruby-2.0.0_p451-SVNr40636-asm-ilp32.diff, +ruby-2.0.0_p451.ebuild, - -files/ruby-2.0.0_p353-SVNr39186-asm-volatile.diff, - -files/ruby-2.0.0_p353-SVNr40636-asm-ilp32.diff, -ruby-2.0.0_p353-r2.ebuild: - dev-lang/ruby: Refresh with upstream - -*ruby-1.9.3_p545 (02 Mar 2014) -*ruby-2.0.0_p353-r2 (02 Mar 2014) - - 02 Mar 2014; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-1.9.3_p545-asm-ilp32+volatile.diff, +ruby-1.9.3_p545.ebuild, - +ruby-2.0.0_p353-r2.ebuild, -files/ruby-1.9.3_p484-asm-ilp32+volatile.diff, - -ruby-1.9.3_p484.ebuild, -ruby-2.0.0_p353-r1.ebuild: - dev-lang/ruby: Refresh with upstream - -*ruby-2.0.0_p353-r1 (05 Jan 2014) - - 05 Jan 2014; Bertrand Jacquin <bertrand@jacquin.bzh> +ruby-2.0.0_p353-r1.ebuild, - -ruby-2.0.0_p353.ebuild: - dev-lang/ruby: Refresh with upstream - -*ruby-1.9.3_p484 (24 Nov 2013) -*ruby-2.0.0_p353 (24 Nov 2013) - - 24 Nov 2013; Bertrand Jacquin <bertrand@jacquin.bzh> +ruby-1.9.3_p484.ebuild, - +ruby-2.0.0_p353.ebuild, -ruby-1.9.3_p448-r1.ebuild, - -ruby-2.0.0_p247-r2.ebuild: - dev-lang/ruby: Version bump - -*ruby-2.0.0_p247-r2 (01 Nov 2013) - - 01 Nov 2013; Bertrand Jacquin <bertrand@jacquin.bzh> +ruby-2.0.0_p247-r2.ebuild, - -ruby-2.0.0_p247-r1.ebuild: - dev-lang/ruby: Refresh with upstream - - 14 Aug 2013; Bertrand Jacquin <bertrand@jacquin.bzh> metadata.xml: - dev-lang/ruby: fix metadata.xml indent - -*ruby-1.9.3_p448-r1 (09 Aug 2013) -*ruby-2.0.0_p247-r1 (09 Aug 2013) - - 09 Aug 2013; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/ruby-1.9.3_p448-asm-ilp32+volatile.diff, - +files/ruby-2.0.0_p247-SVNr39186-asm-volatile.diff, - +files/ruby-2.0.0_p247-SVNr40636-asm-ilp32.diff, +metadata.xml, - +ruby-1.9.3_p448-r1.ebuild, +ruby-2.0.0_p247-r1.ebuild: - dev-lang/ruby: Fix build for ABI=x32, see #480238 #419851 diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest deleted file mode 100644 index 4efe40b7..00000000 --- a/dev-lang/ruby/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX ruby-2.0.0_p647-SVNr39186-asm-volatile.diff 1084 SHA256 018db4d702d43c3020be470f5ae262c6e433023988b7522aef4051c6a10dfb12 WHIRLPOOL d9155e0e3dd688889d70d0484219e0ee4a15fe48f92f191bbabf60b58c846bd563ebe6549b9f6351c71936085af06359f6fed917011edbb821055cf009c1bfe7 -AUX ruby-2.0.0_p647-SVNr40636-asm-ilp32.diff 990 SHA256 90739a6c3502f12f2d79d69920676d218776f50816b7d0f107192ff664ad88be WHIRLPOOL 83c9866bade1c90cb0de3b99b86174cc5bddca8b1f1371fe7a59a829c92378734b8af4ade9538743fb3d3f2359f9e4696f2b7b005114e14c34a1fe3469f6df72 -DIST ruby-2.0.0-p647.tar.xz 8301008 SHA256 9f793880df1209ea4e5c10ee9d8ef79caa0e73ee769f745f1c191505255e2847 WHIRLPOOL c8ec19ed900e6578f1f6e08d1e2a5c015cfa6e81379fb0437a1167ffb8bc56561d02b4b5b35a674039f7adcd2c43b222b89e139cb0ea702e8bfec886872c8e6a -DIST ruby-patches-2.0.0_p647.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e -EBUILD ruby-2.0.0_p647.ebuild 6538 SHA256 2e9c9faee892f822a173b1563b7a3e40385deffbaa6bcfc5c4e8dd4055936fe8 WHIRLPOOL 756ec67eb043be263a6846668a140a32560f42981aeaaa5c3ac10a851c3d806205d70ae91c2578c39a511ee36cc5efe01a0eb4aca7575053e877534608beed7f -MISC ChangeLog 4835 SHA256 6f3aa641c3a506a675e69a39862cf2f8196b5d13c6a6c78abc622f2e6ab2a30b WHIRLPOOL 30b12acc1b8c813f68377510b33077b18a4b40c41186e391d180a25f59850dbfee137ca6fc6505875edd085dbcc13aa0044565ee77e391b3a9dd2f61dfc10926 -MISC metadata.xml 892 SHA256 1e04af7280748397c1156d9ad9eac34d2afcc404b474ed337e0658a0d4a931d9 WHIRLPOOL f7c799e31ee7b2d72cfdfbe3b2f3e3c51e78ed22fc67d7848bfcaa72aff00283db163846cd95f93ac7eaebae5ecca8091d5a1117d9e3637fa6f207361b6c0917 diff --git a/dev-lang/ruby/files/ruby-2.0.0_p647-SVNr39186-asm-volatile.diff b/dev-lang/ruby/files/ruby-2.0.0_p647-SVNr39186-asm-volatile.diff deleted file mode 100644 index 2c192a9d..00000000 --- a/dev-lang/ruby/files/ruby-2.0.0_p647-SVNr39186-asm-volatile.diff +++ /dev/null @@ -1,23 +0,0 @@ ------------------------------------------------------------------------- -r39186 | kosaki | 2013-02-10 06:41:01 +0100 (Sun, 10 Feb 2013) | 1 line - -* gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile. - -Index: gc.h -=================================================================== ---- gc.h (revision 39185) -+++ gc.h (revision 39186) -@@ -3,9 +3,9 @@ - #define RUBY_GC_H 1 - - #if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) --#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movq\t%%rsp, %0" : "=r" (*(p))) -+#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) - #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) --#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movl\t%%esp, %0" : "=r" (*(p))) -+#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) - #else - NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p)); - #define SET_MACHINE_STACK_END(p) rb_gc_set_stack_end(p) - ------------------------------------------------------------------------- diff --git a/dev-lang/ruby/files/ruby-2.0.0_p647-SVNr40636-asm-ilp32.diff b/dev-lang/ruby/files/ruby-2.0.0_p647-SVNr40636-asm-ilp32.diff deleted file mode 100644 index 8384f473..00000000 --- a/dev-lang/ruby/files/ruby-2.0.0_p647-SVNr40636-asm-ilp32.diff +++ /dev/null @@ -1,22 +0,0 @@ ------------------------------------------------------------------------- -r40636 | akr | 2013-05-10 17:49:56 +0200 (Fri, 10 May 2013) | 5 lines - -* gc.h (SET_MACHINE_STACK_END): Add !defined(_ILP32) to a defining - condition to avoid compilation error on x32. - https://sites.google.com/site/x32abi/ - -Index: gc.h -=================================================================== ---- gc.h (revision 40635) -+++ gc.h (revision 40636) -@@ -2,7 +2,7 @@ - #ifndef RUBY_GC_H - #define RUBY_GC_H 1 - --#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__) -+#if defined(__x86_64__) && !defined(_ILP32) && defined(__GNUC__) && !defined(__native_client__) - #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p))) - #elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__) - #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p))) - ------------------------------------------------------------------------- diff --git a/dev-lang/ruby/metadata.xml b/dev-lang/ruby/metadata.xml deleted file mode 100644 index 7cb8bba6..00000000 --- a/dev-lang/ruby/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>ruby</herd> - <use> - <flag name='rubytests'> - Install ruby tests that can only be run after ruby is installed - </flag> - - <flag name='readline'> - Use the <pkg>sys-libs/readline</pkg> library to provide the - readline extension, used for instance by the irb tool. This flag - is meaningful only if the libedit USE flag is disabled. - - If neither libedit nor readline USE flags are enabled, the - readline extension will not be built (and irb will lose line - editing functionality). - </flag> - - <flag name='rdoc'> - Install <pkg>dev-ruby/rdoc</pkg> after installing Ruby. - </flag> - </use> -</pkgmetadata> diff --git a/dev-lang/ruby/ruby-2.0.0_p647.ebuild b/dev-lang/ruby/ruby-2.0.0_p647.ebuild deleted file mode 100644 index edf21285..00000000 --- a/dev-lang/ruby/ruby-2.0.0_p647.ebuild +++ /dev/null @@ -1,233 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -#PATCHSET=1 - -inherit autotools eutils flag-o-matic multilib versionator - -RUBYPL=$(get_version_component_range 4) - -MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}" -S=${WORKDIR}/${MY_P} - -SLOT=$(get_version_component_range 1-2) -MY_SUFFIX=$(delete_version_separator 1 ${SLOT}) -RUBYVERSION=2.0.0 - -if [[ -n ${PATCHSET} ]]; then - if [[ ${PVR} == ${PV} ]]; then - PATCHSET="${PV}-r0.${PATCHSET}" - else - PATCHSET="${PVR}.${PATCHSET}" - fi -else - PATCHSET="${PVR}" -fi - -DESCRIPTION="An object-oriented scripting language" -HOMEPAGE="http://www.ruby-lang.org/" -SRC_URI="mirror://ruby/2.0/${MY_P}.tar.xz - http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" - -LICENSE="|| ( Ruby-BSD BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline cpu_flags_x86_sse2" - -RDEPEND=" - berkdb? ( sys-libs/db:= ) - gdbm? ( sys-libs/gdbm ) - ssl? ( dev-libs/openssl:0 ) - socks5? ( >=net-proxy/dante-1.1.13 ) - ncurses? ( sys-libs/ncurses:5= ) - readline? ( sys-libs/readline:0 ) - dev-libs/libyaml - virtual/libffi - sys-libs/zlib - >=app-eselect/eselect-ruby-20100402 - !<dev-ruby/rdoc-3.9.4 - !<dev-ruby/rubygems-1.8.10-r1" - -DEPEND="${RDEPEND}" -PDEPEND=" - virtual/rubygems[ruby_targets_ruby20] - >=dev-ruby/json-1.7.7[ruby_targets_ruby20] - >=dev-ruby/rake-0.9.6[ruby_targets_ruby20] - rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] ) - xemacs? ( app-xemacs/ruby-modes )" - -src_prepare() { - if use cpu_flags_x86_sse2 ; then - excluded_patches="012_no_forced_sse2.patch" - fi - - EPATCH_EXCLUDE="${excluded_patches}" EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/patches" - - epatch "${FILESDIR}/${P}-SVNr39186-asm-volatile.diff" - epatch "${FILESDIR}/${P}-SVNr40636-asm-ilp32.diff" - - # We can no longer unbundle all of rake because rubygems now depends - # on this. We leave the actual rake code around to bootstrap - # rubygems, but remove the bits that would cause a file collision. - einfo "Unbundling gems..." - cd "$S" - rm -r \ - {bin,lib}/rake lib/rake.rb man/rake.1 \ - bin/gem || die "removal failed" - - # Fix a hardcoded lib path in configure script - sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \ - configure.in || die "sed failed" - - eautoreconf -} - -src_configure() { - local myconf= - - # The Tk module can no longer be built because the module code is no - # longer compatible with newer stable versions. - # https://bugs.gentoo.org/show_bug.cgi?id=500894 - local modules="tk" - - # -fomit-frame-pointer makes ruby segfault, see bug #150413. - filter-flags -fomit-frame-pointer - # In many places aliasing rules are broken; play it safe - # as it's risky with newer compilers to leave it as it is. - append-flags -fno-strict-aliasing - # SuperH needs this - use sh && append-flags -mieee - - # Socks support via dante - if use socks5 ; then - # Socks support can't be disabled as long as SOCKS_SERVER is - # set and socks library is present, so need to unset - # SOCKS_SERVER in that case. - unset SOCKS_SERVER - fi - - # Increase GC_MALLOC_LIMIT if set (default is 8000000) - if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then - append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}" - fi - - # ipv6 hack, bug 168939. Needs --enable-ipv6. - use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET" - - # Determine which modules *not* to build depending in the USE flags. - if ! use readline ; then - modules="${modules},readline" - fi - if ! use berkdb ; then - modules="${modules},dbm" - fi - if ! use gdbm ; then - modules="${modules},gdbm" - fi - if ! use ssl ; then - modules="${modules},openssl" - fi - if ! use ncurses ; then - modules="${modules},curses" - fi - - INSTALL="${EPREFIX}/usr/bin/install -c" econf \ - --program-suffix=${MY_SUFFIX} \ - --with-soname=ruby${MY_SUFFIX} \ - --docdir=${EPREFIX}/usr/share/doc/${P} \ - --enable-shared \ - --enable-pthread \ - --disable-rpath \ - --with-out-ext="${modules}" \ - $(use_enable socks5 socks) \ - $(use_enable doc install-doc) \ - --enable-ipv6 \ - $(use_enable debug) \ - ${myconf} \ - --enable-option-checking=no \ - || die "econf failed" -} - -src_compile() { - emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_test() { - emake -j1 V=1 test || die "make test failed" - - elog "Ruby's make test has been run. Ruby also ships with a make check" - elog "that cannot be run until after ruby has been installed." - elog - if use rubytests; then - elog "You have enabled rubytests, so they will be installed to" - elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other" - elog "than root, and you must place them into a writeable directory." - elog "Then call: " - elog - elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb" - else - elog "Enable the rubytests USE flag to install the make check tests" - fi -} - -src_install() { - # Remove the remaining bundled gems. We do this late in the process - # since they are used during the build to e.g. create the - # documentation. - rm -rf ext/json || die - - # Ruby is involved in the install process, we don't want interference here. - unset RUBYOPT - - local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby) - - LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" - RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}" - for d in $(find "${S}/ext" -type d) ; do - RUBYLIB="${RUBYLIB}:$d" - done - export LD_LIBRARY_PATH RUBYLIB - - emake V=1 DESTDIR="${D}" install || die "make install failed" - - # Remove installed rubygems copy - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" - - if use doc; then - make DESTDIR="${D}" install-doc || die "make install-doc failed" - fi - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r sample - fi - - dodoc ChangeLog NEWS doc/NEWS* README* || die - - if use rubytests; then - pushd test - insinto /usr/share/${PN}-${SLOT}/test - doins -r . - popd - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then - eselect ruby set ruby${MY_SUFFIX} - fi - - elog - elog "To switch between available Ruby profiles, execute as root:" - elog "\teselect ruby set ruby(19|20|...)" - elog -} - -pkg_postrm() { - eselect ruby cleanup -} |