1 |
commit: 166d3452dedb56fe81eb2e65393421ddbc75eb2a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 06:07:06 2015 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 06:07:21 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166d3452 |
7 |
|
8 |
dev-ruby/sparklines: fix compatibility with rmagick 2.14 |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild | 34 ++++++++++++++++++++++++++ |
13 |
1 file changed, 34 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..bf6335f |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild |
20 |
@@ -0,0 +1,34 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+USE_RUBY="ruby20 ruby21 ruby22" |
27 |
+ |
28 |
+RUBY_FAKEGEM_TASK_DOC="" |
29 |
+ |
30 |
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" |
31 |
+ |
32 |
+inherit ruby-fakegem |
33 |
+ |
34 |
+DESCRIPTION="Create sparklines, small graphs to be used inline in texts" |
35 |
+HOMEPAGE="http://sparklines.rubyforge.org/" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86 ~x86-macos" |
40 |
+IUSE="" |
41 |
+ |
42 |
+RDEPEND="dev-ruby/rmagick" |
43 |
+ |
44 |
+ruby_add_bdepend test "dev-ruby/tidy_table dev-ruby/dust" |
45 |
+ |
46 |
+all_ruby_prepare() { |
47 |
+ # Don't use deprecated rmagick require for compatibility with newer |
48 |
+ # versions. |
49 |
+ sed -i -e '/require/ s/RMagick/rmagick/' lib/sparklines.rb || die |
50 |
+} |
51 |
+ |
52 |
+each_ruby_test() { |
53 |
+ ${RUBY} -I. test/test_all.rb || die |
54 |
+} |