diff options
author | 2021-09-26 01:02:13 +0900 | |
---|---|---|
committer | 2021-09-26 01:04:12 +0900 | |
commit | 407734c47651986bff47e38f18aea392d9292035 (patch) | |
tree | 3dd42c52ddd049aa8fba3d03f7f806366feca827 /dev-ruby | |
parent | media-gfx/inkscape: various minor fixups (diff) | |
download | gentoo-407734c47651986bff47e38f18aea392d9292035.tar.gz gentoo-407734c47651986bff47e38f18aea392d9292035.tar.bz2 gentoo-407734c47651986bff47e38f18aea392d9292035.zip |
dev-ruby/red-colors: install necessary data files
dev-ruby/red-colors lacks "data/colormaps/*.json" files, causing the
load error as below. Install them properly.
$ irb
irb(main):001:0> require 'colors'
/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)
Signed-off-by: Naohiro Aota <naota@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/red-colors/red-colors-0.3.0-r1.ebuild | 20 |
1 files changed, 20 insertions, 0 deletions
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 new file mode 100644 index 000000000000..2e0403845423 --- /dev/null +++ b/dev-ruby/red-colors/red-colors-0.3.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Color features for Ruby" +HOMEPAGE="https://github.com/red-data-tools/red-colors" + +IUSE="" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~ppc ~x86" |