commit: cbe0a12c786a9ec93b68a086a87389f932577b08 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Jun 3 14:34:50 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Jun 4 04:42:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe0a12c
dev-ruby/gnuplot: add ruby34, fix QA issues Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/gnuplot/gnuplot-2.6.2-r4.ebuild | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-ruby/gnuplot/gnuplot-2.6.2-r4.ebuild b/dev-ruby/gnuplot/gnuplot-2.6.2-r4.ebuild new file mode 100644 index 000000000000..9247b631fc97 --- /dev/null +++ b/dev-ruby/gnuplot/gnuplot-2.6.2-r4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="AUTHORS.txt ChangeLog README.textile" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Gnuplot drawing library - Ruby Bindings" +HOMEPAGE="https://rubygems.org/gems/gnuplot" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +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() { + ${RUBY} -Ctest test_gnuplot.rb || die +}
