diff options
Diffstat (limited to 'dev-ruby/gnuplot')
| -rw-r--r-- | dev-ruby/gnuplot/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild | 34 | ||||
| -rw-r--r-- | dev-ruby/gnuplot/metadata.xml | 9 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/gnuplot/Manifest b/dev-ruby/gnuplot/Manifest new file mode 100644 index 000000000000..e6724ed38220 --- /dev/null +++ b/dev-ruby/gnuplot/Manifest @@ -0,0 +1 @@ +DIST gnuplot-2.6.2.gem 13824 BLAKE2B 5fe89c44bcfc8f73e4685fbf8300b5a43845ed8292db84bf3b21f884656a8cf29623bdef37fd4aebbb54ef1a582567fd2c12029a2e4584a92b52f66dad3b8e4f SHA512 bcc9dbdade4fdcaa590006ca925c4f1eb71b4c7d6235c948266a185c937d991ff559a1749f33993baca4437252afdfa7bde1a43c6e05dc6f180e9e7b06a4a8e6 diff --git a/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild new file mode 100644 index 000000000000..dc8731db9621 --- /dev/null +++ b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +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="http://rgplot.rubyforge.org/" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" +SLOT="0" + +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 +} diff --git a/dev-ruby/gnuplot/metadata.xml b/dev-ruby/gnuplot/metadata.xml new file mode 100644 index 000000000000..d4ec83bb336f --- /dev/null +++ b/dev-ruby/gnuplot/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>gentoo-staging</origin> +</pkgmetadata> |
