1 |
commit: ffef9d867af60c33af1c71eae554c195d735e174 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 2 07:21:29 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 2 07:21:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffef9d86 |
7 |
|
8 |
dev-ruby/tty-color: add 0.5.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/tty-color/Manifest | 1 + |
14 |
dev-ruby/tty-color/tty-color-0.5.1.ebuild | 30 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/tty-color/Manifest b/dev-ruby/tty-color/Manifest |
18 |
index b12ec93129c..cc0d5537452 100644 |
19 |
--- a/dev-ruby/tty-color/Manifest |
20 |
+++ b/dev-ruby/tty-color/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST tty-color-0.4.3.gem 11776 BLAKE2B 4e51a41fb97b343c22a6ae832a449905fc215b7e218a31c993a47c66c66c049f70ce0da163d27f593309c6e49c014badc378ea89dec42c94ce6ba9e088798952 SHA512 4447c02f9b738f4fbecc14149d6c09da2da36c489d118f7d18b85f48b9c22b7939e5c62a32048f1a0c958533be15ead3952c72ea03fd1d06b23b1ed29beadcd8 |
23 |
DIST tty-color-0.5.0.gem 11776 BLAKE2B fc22689783c86b5d18bd3134b198b2bdf50563bc14a25b8a02611ac6a46f494c86b17ff1307089a87ad92442d99da3d408b4907b83f3c67f495a66ceaaddc2ee SHA512 998da9196055b011edf8b20595e548447d7a3cda3555a61c2645dac618dcebf8fcd3b257ae8948f93fd7720956f6dc2b554fb5521a8847017c4a2ab2e2b74e73 |
24 |
+DIST tty-color-0.5.1.tar.gz 10877 BLAKE2B 9ae72b4885ea1662038b6c98c672a349c458efb9b07747f2a1d2dfe69070efa08e45ae2fbaa513bbb8e7a9bee5a8a68a2b980456d64894df8556a4a6820b3770 SHA512 48144ef358cf04a4e88b0ee1cf96586c6c9a5d2862a7ea2a4fdcb92853c7b520d2cc94919b6dee97d9bf0384fa5bb9d8e0665730a9965de8b93af1edf459ebff |
25 |
|
26 |
diff --git a/dev-ruby/tty-color/tty-color-0.5.1.ebuild b/dev-ruby/tty-color/tty-color-0.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0d9e54158db |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/tty-color/tty-color-0.5.1.ebuild |
31 |
@@ -0,0 +1,30 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
41 |
+ |
42 |
+RUBY_FAKEGEM_GEMSPEC="tty-color.gemspec" |
43 |
+ |
44 |
+RUBY_FAKEGEM_BINWRAP="" |
45 |
+ |
46 |
+inherit ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="Terminal color capabilities detection" |
49 |
+HOMEPAGE="https://github.com/piotrmurach/tty-color" |
50 |
+SRC_URI="https://github.com/piotrmurach/tty-color/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64" |
55 |
+IUSE="" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ echo '-rspec_helper' > .rspec || die |
59 |
+ |
60 |
+ sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die |
61 |
+} |