Add ruby22 RUBY_TARGET support.
authorHans de Graaff <graaff@gentoo.org>
Sat, 27 Dec 2014 20:04:21 +0000 (20:04 +0000)
committerHans de Graaff <graaff@gentoo.org>
Sat, 27 Dec 2014 20:04:21 +0000 (20:04 +0000)
eclass/ChangeLog
eclass/ruby-ng.eclass

index 4dd2977af8bd2f91cec7feccbdb2fae3fa9fa71a..d468ec5b6c2b2d4fdd02eccd1d26951c8b98e362 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1478 2014/12/27 19:31:39 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1479 2014/12/27 20:04:21 graaff Exp $
+
+  27 Dec 2014; Hans de Graaff <graaff@gentoo.org> ruby-ng.eclass:
+  Add ruby22 RUBY_TARGET support.
 
   27 Dec 2014; Michał Górny <mgorny@gentoo.org> python-utils-r1.eclass:
   Add die-checks for python.eclass & distutils.eclass variables.
index b870c0698bc82e4b51cacc8edb9454e751edfa40..56b6ebb4937d77c721479dc1e82db412ae778493 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.54 2014/01/16 07:57:40 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.55 2014/12/27 20:04:21 graaff Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -19,6 +19,7 @@
 #  * ruby19 - Ruby (MRI) 1.9.x
 #  * ruby20 - Ruby (MRI) 2.0.x
 #  * ruby21 - Ruby (MRI) 2.1.x
+#  * ruby22 - Ruby (MRI) 2.2.x
 #  * ree18  - Ruby Enterprise Edition 1.8.x
 #  * jruby  - JRuby
 #  * rbx    - Rubinius
@@ -118,6 +119,10 @@ ruby_implementation_depend() {
                        rubypn="dev-lang/ruby"
                        rubyslot=":2.1"
                        ;;
+               ruby22)
+                       rubypn="dev-lang/ruby"
+                       rubyslot=":2.2"
+                       ;;
                ree18)
                        rubypn="dev-lang/ruby-enterprise"
                        rubyslot=":1.8"