From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-917607-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4E972139085
	for <garchives@archives.gentoo.org>; Sun, 18 Dec 2016 07:46:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D01DC21C0B9;
	Sun, 18 Dec 2016 07:46:03 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ACF6321C0B9
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Dec 2016 07:46:03 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C7F3D341130
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Dec 2016 07:46:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B1F724EA
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Dec 2016 07:45:58 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1482047097.72f3f44a67d63b3b4c8acb0fc31d66f01a68b659.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gnuplot/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild
X-VCS-Directories: dev-ruby/gnuplot/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 72f3f44a67d63b3b4c8acb0fc31d66f01a68b659
X-VCS-Branch: master
Date: Sun, 18 Dec 2016 07:45:58 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 340a859d-ed38-46bc-99e3-6320a8f193a3
X-Archives-Hash: 84c38ad7b0663a2535fbc3700c7c21fd

commit:     72f3f44a67d63b3b4c8acb0fc31d66f01a68b659
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 07:44:57 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 07:44:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f3f44a

dev-ruby/gnuplot: add ruby22, ruby23

Package-Manager: portage-2.3.0

 dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild
index df270c6..60d15cf 100644
--- a/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild
+++ b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild
@@ -3,8 +3,8 @@
 # $Id$
 
 EAPI=5
-# ruby22 -> not compatible since Config is removed
-USE_RUBY="ruby20 ruby21"
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="AUTHORS.txt ChangeLog README.textile"
@@ -26,6 +26,8 @@ RDEPEND+=" sci-visualization/gnuplot"
 all_ruby_prepare() {
 	# Existing metadata causes a crash in jruby, so use our own.
 	rm -f ../metadata || die "Unable to remove metadata."
+
+	sed -i -e 's/Config/RbConfig/' test/test_gnuplot.rb || die
 }
 
 each_ruby_test() {