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: Tue, 03 Mar 2009 15:51:56
Message-Id: E1LeWuQ-0007FA-CD@stork.gentoo.org
1 a3li 09/03/03 15:51:54
2
3 Modified: ruby.eclass
4 Log:
5 Adding USE_RUBY="any" deprecation notice. Due for removal April 1st.
6
7 Revision Changes Path
8 1.75 eclass/ruby.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby.eclass?rev=1.75&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby.eclass?rev=1.75&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby.eclass?r1=1.74&r2=1.75
13
14 Index: ruby.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v
17 retrieving revision 1.74
18 retrieving revision 1.75
19 diff -u -r1.74 -r1.75
20 --- ruby.eclass 8 Feb 2009 21:13:35 -0000 1.74
21 +++ ruby.eclass 3 Mar 2009 15:51:54 -0000 1.75
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.74 2009/02/08 21:13:35 a3li Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.75 2009/03/03 15:51:54 a3li Exp $
27 #
28 # @ECLASS: ruby.eclass
29 # @MAINTAINER:
30 @@ -257,6 +257,13 @@
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=$-