summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-12-18 08:44:57 +0100
committerHans de Graaff <graaff@gentoo.org>2016-12-18 08:44:57 +0100
commit72f3f44a67d63b3b4c8acb0fc31d66f01a68b659 (patch)
tree24e0202a00625647e2f7d132f8708b7622617da4 /dev-ruby/gnuplot
parentdev-ruby/git: cleanup (diff)
downloadgentoo-72f3f44a67d63b3b4c8acb0fc31d66f01a68b659.tar.gz
gentoo-72f3f44a67d63b3b4c8acb0fc31d66f01a68b659.tar.bz2
gentoo-72f3f44a67d63b3b4c8acb0fc31d66f01a68b659.zip
dev-ruby/gnuplot: add ruby22, ruby23
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/gnuplot')
-rw-r--r--dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild6
1 files 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 df270c6c1a5e..60d15cf67e26 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() {