summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-12-26 07:11:48 +0000
committerHans de Graaff <graaff@gentoo.org>2013-12-26 07:11:48 +0000
commit13d78479589ce3c8a0d51db79fdff2c88fbeb883 (patch)
tree35a19cbe0f22a9df05eaeea6de19541d5fab1f80 /eclass
parentAdd description for Ruby 2.1.x target. (diff)
downloadgentoo-2-13d78479589ce3c8a0d51db79fdff2c88fbeb883.tar.gz
gentoo-2-13d78479589ce3c8a0d51db79fdff2c88fbeb883.tar.bz2
gentoo-2-13d78479589ce3c8a0d51db79fdff2c88fbeb883.zip
Add support for the ruby21 target.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/ruby-ng.eclass7
2 files changed, 10 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 615395b90ae5..c1f2bae0afa8 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.1087 2013/12/24 14:54:26 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1088 2013/12/26 07:11:48 graaff Exp $
+
+ 26 Dec 2013; Hans de Graaff <graaff@gentoo.org> ruby-ng.eclass:
+ Add support for the ruby21 target.
24 Dec 2013; Andreas K. Huettel <dilfridge@gentoo.org> cmake-utils.eclass:
Add another pathological use flag function, useno (inversion of use)
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index cd6032f4e91a..203efe13e2f4 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -1,6 +1,6 @@
# 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.52 2013/06/23 14:56:07 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.53 2013/12/26 07:11:48 graaff Exp $
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -18,6 +18,7 @@
# * ruby18 - Ruby (MRI) 1.8.x
# * ruby19 - Ruby (MRI) 1.9.x
# * ruby20 - Ruby (MRI) 2.0.x
+# * ruby21 - Ruby (MRI) 2.1.x
# * ree18 - Ruby Enterprise Edition 1.8.x
# * jruby - JRuby
# * rbx - Rubinius
@@ -113,6 +114,10 @@ ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":2.0"
;;
+ ruby21)
+ rubypn="dev-lang/ruby"
+ rubyslot=":2.1"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"