Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ruby.eclass
Date: Sat, 03 Oct 2009 08:31:33
Message-Id: E1Mu01Z-0003ct-Vb@stork.gentoo.org
1 a3li 09/10/03 08:31:29
2
3 Modified: ruby.eclass
4 Log:
5 Killing USE_RUBY='any' (with fire and stuff).
6
7 Revision Changes Path
8 1.77 eclass/ruby.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby.eclass?rev=1.77&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby.eclass?rev=1.77&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby.eclass?r1=1.76&r2=1.77
13
14 Index: ruby.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v
17 retrieving revision 1.76
18 retrieving revision 1.77
19 diff -u -r1.76 -r1.77
20 --- ruby.eclass 4 Aug 2009 11:50:23 -0000 1.76
21 +++ ruby.eclass 3 Oct 2009 08:31:29 -0000 1.77
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2004 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.76 2009/08/04 11:50:23 flameeyes Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.77 2009/10/03 08:31:29 a3li Exp $
27 #
28 # @ECLASS: ruby.eclass
29 # @MAINTAINER:
30 @@ -257,26 +257,8 @@
31 src_install || die "src_install failed"
32 done
33 elif [ "${USE_RUBY}" == "any" ] ; then
34 - ewarn
35 - ewarn "DEPRECATION NOTICE"
36 - ewarn "USE_RUBY=\"any\" is deprecated. Please use explicit versions instead."
37 - ewarn "Support will be removed on April 1st, 2009."
38 - ewarn "For questions, please contact ruby@g.o."
39 - ewarn
40 -
41 - siteruby=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
42 - # in case no directories found in siteruby
43 - local shopts=$-
44 - set -o noglob # so that bash doen't expand "*"
45 -
46 - for x in "${D}"/${siteruby}/* ; do
47 - mv $x "${D}"/${siteruby}/..
48 - done
49 - if [[ -d ${D}${siteruby} ]] ; then
50 - rmdir --ignore-fail-on-non-empty "${D}"/${siteruby}
51 - fi
52 -
53 - set +o noglob; set -$shopts # reset old shell opts
54 + eerror "USE_RUBY=\"any\" is no longer supported. Please use explicit versions instead."
55 + die "USE_RUBY=\"any\" is no longer supported."
56 fi
57 fi