summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-06-23 14:56:07 +0000
committerHans de Graaff <graaff@gentoo.org>2013-06-23 14:56:07 +0000
commit243ae5c30c8066d19a0ab8580922ab88f7bdaabf (patch)
tree812641f00e2f5ceca7c6b8318741ce777cacae6b /eclass/ruby-ng.eclass
parentAdd support for ruby20. (diff)
downloadgentoo-2-243ae5c30c8066d19a0ab8580922ab88f7bdaabf.tar.gz
gentoo-2-243ae5c30c8066d19a0ab8580922ab88f7bdaabf.tar.bz2
gentoo-2-243ae5c30c8066d19a0ab8580922ab88f7bdaabf.zip
Add support for ruby20.
Diffstat (limited to 'eclass/ruby-ng.eclass')
-rw-r--r--eclass/ruby-ng.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 7963af688b56..cd6032f4e91a 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.51 2012/09/27 16:35:41 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.52 2013/06/23 14:56:07 graaff Exp $
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -17,6 +17,7 @@
# Currently available targets are:
# * ruby18 - Ruby (MRI) 1.8.x
# * ruby19 - Ruby (MRI) 1.9.x
+# * ruby20 - Ruby (MRI) 2.0.x
# * ree18 - Ruby Enterprise Edition 1.8.x
# * jruby - JRuby
# * rbx - Rubinius
@@ -108,6 +109,10 @@ ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":1.9"
;;
+ ruby20)
+ rubypn="dev-lang/ruby"
+ rubyslot=":2.0"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"