summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-12-27 20:04:21 +0000
committerHans de Graaff <graaff@gentoo.org>2014-12-27 20:04:21 +0000
commitebd84d06ba40a715f164229e15c9761b4f676a51 (patch)
tree9b64be25d061f0329eb7ca8c9a0a3224d7835ed2 /eclass
parentRemove old (diff)
downloadgentoo-2-ebd84d06ba40a715f164229e15c9761b4f676a51.tar.gz
gentoo-2-ebd84d06ba40a715f164229e15c9761b4f676a51.tar.bz2
gentoo-2-ebd84d06ba40a715f164229e15c9761b4f676a51.zip
Add ruby22 RUBY_TARGET support.
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 4dd2977af8bd..d468ec5b6c2b 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -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.
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index b870c0698bc8..56b6ebb4937d 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -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"