summaryrefslogtreecommitdiff
path: root/eclass
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
commit44bdb1e51bdb0e97628f0fe931dcb3eddef1c411 (patch)
treeaf8eb738318afae018974f476021a8d7e5db59e7 /eclass
parentmigrate to mono-env (diff)
downloadhistorical-44bdb1e51bdb0e97628f0fe931dcb3eddef1c411.tar.gz
historical-44bdb1e51bdb0e97628f0fe931dcb3eddef1c411.tar.bz2
historical-44bdb1e51bdb0e97628f0fe931dcb3eddef1c411.zip
Add support for ruby20.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/ruby-ng.eclass9
2 files changed, 11 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index cf3ad295a9de..d1effb062859 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.862 2013/06/22 12:37:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.863 2013/06/23 14:56:02 graaff Exp $
+
+ 23 Jun 2013; Hans de Graaff <graaff@gentoo.org> ruby-ng.eclass:
+ Add support for ruby20.
22 Jun 2013; Justin Lecher <jlec@gentoo.org> cuda.eclass:
Add debug print
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"