1 |
commit: 407734c47651986bff47e38f18aea392d9292035 |
2 |
Author: Naohiro Aota <naota <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 25 16:02:13 2021 +0000 |
4 |
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 25 16:04:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407734c4 |
7 |
|
8 |
dev-ruby/red-colors: install necessary data files |
9 |
|
10 |
dev-ruby/red-colors lacks "data/colormaps/*.json" files, causing the |
11 |
load error as below. Install them properly. |
12 |
|
13 |
$ irb |
14 |
irb(main):001:0> require 'colors' |
15 |
/usr/lib64/ruby/gems/3.0.0/gems/red-colors-0.3.0/lib/colors/colormap_data.rb:14:in `read': No such file or directory @ rb_sysopen - /usr/lib64/ruby/gems/3.0.0/gems/red-colors-0.3.0/data/colormaps/magma.json (Errno::ENOENT) |
16 |
|
17 |
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org> |
18 |
|
19 |
dev-ruby/red-colors/red-colors-0.3.0-r1.ebuild | 20 ++++++++++++++++++++ |
20 |
1 file changed, 20 insertions(+) |
21 |
|
22 |
diff --git a/dev-ruby/red-colors/red-colors-0.3.0-r1.ebuild b/dev-ruby/red-colors/red-colors-0.3.0-r1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..2e040384542 |
25 |
--- /dev/null |
26 |
+++ b/dev-ruby/red-colors/red-colors-0.3.0-r1.ebuild |
27 |
@@ -0,0 +1,20 @@ |
28 |
+# Copyright 1999-2021 Gentoo Authors |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=8 |
32 |
+ |
33 |
+USE_RUBY="ruby26 ruby27 ruby30" |
34 |
+ |
35 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
36 |
+RUBY_FAKEGEM_EXTRAINSTALL="data" |
37 |
+ |
38 |
+inherit ruby-fakegem |
39 |
+ |
40 |
+DESCRIPTION="Color features for Ruby" |
41 |
+HOMEPAGE="https://github.com/red-data-tools/red-colors" |
42 |
+ |
43 |
+IUSE="" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="MIT" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |