1 |
commit: 27ba300c62c9d5a8a925cff947bc944ee9cb1cf9 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 7 07:54:31 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 08:08:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ba300c |
7 |
|
8 |
dev-ruby/gnuplot: EAPI 8; add ruby30 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/gnuplot/gnuplot-2.6.2-r3.ebuild | 34 ++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/gnuplot/gnuplot-2.6.2-r3.ebuild b/dev-ruby/gnuplot/gnuplot-2.6.2-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..8db2219c84e |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/gnuplot/gnuplot-2.6.2-r3.ebuild |
21 |
@@ -0,0 +1,34 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+USE_RUBY="ruby26 ruby27 ruby30" |
28 |
+ |
29 |
+RUBY_FAKEGEM_TASK_DOC="" |
30 |
+RUBY_FAKEGEM_EXTRADOC="AUTHORS.txt ChangeLog README.textile" |
31 |
+ |
32 |
+RUBY_FAKEGEM_TASK_TEST="" |
33 |
+ |
34 |
+inherit ruby-fakegem |
35 |
+ |
36 |
+DESCRIPTION="Gnuplot drawing library - Ruby Bindings" |
37 |
+HOMEPAGE="http://rgplot.rubyforge.org/" |
38 |
+ |
39 |
+LICENSE="BSD" |
40 |
+KEYWORDS="~amd64 ~ppc ~x86" |
41 |
+IUSE="test" |
42 |
+SLOT="0" |
43 |
+ |
44 |
+RDEPEND+=" sci-visualization/gnuplot" |
45 |
+ |
46 |
+all_ruby_prepare() { |
47 |
+ # Existing metadata causes a crash in jruby, so use our own. |
48 |
+ rm -f ../metadata || die "Unable to remove metadata." |
49 |
+ |
50 |
+ sed -i -e 's/Config/RbConfig/' test/test_gnuplot.rb || die |
51 |
+} |
52 |
+ |
53 |
+each_ruby_test() { |
54 |
+ ${RUBY} -Ctest test_gnuplot.rb || die |
55 |
+} |