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() {