summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-02-02 08:21:29 +0100
committerHans de Graaff <graaff@gentoo.org>2020-02-02 08:21:29 +0100
commitffef9d867af60c33af1c71eae554c195d735e174 (patch)
tree507ef8447a993146f979eef5e085292759fae2a2 /dev-ruby/tty-color
parentdev-ruby/stomp: add 1.4.9 (diff)
downloadgentoo-ffef9d867af60c33af1c71eae554c195d735e174.tar.gz
gentoo-ffef9d867af60c33af1c71eae554c195d735e174.tar.bz2
gentoo-ffef9d867af60c33af1c71eae554c195d735e174.zip
dev-ruby/tty-color: add 0.5.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tty-color')
-rw-r--r--dev-ruby/tty-color/Manifest1
-rw-r--r--dev-ruby/tty-color/tty-color-0.5.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/tty-color/Manifest b/dev-ruby/tty-color/Manifest
index b12ec93129c8..cc0d55374526 100644
--- a/dev-ruby/tty-color/Manifest
+++ b/dev-ruby/tty-color/Manifest
@@ -1,2 +1,3 @@
DIST tty-color-0.4.3.gem 11776 BLAKE2B 4e51a41fb97b343c22a6ae832a449905fc215b7e218a31c993a47c66c66c049f70ce0da163d27f593309c6e49c014badc378ea89dec42c94ce6ba9e088798952 SHA512 4447c02f9b738f4fbecc14149d6c09da2da36c489d118f7d18b85f48b9c22b7939e5c62a32048f1a0c958533be15ead3952c72ea03fd1d06b23b1ed29beadcd8
DIST tty-color-0.5.0.gem 11776 BLAKE2B fc22689783c86b5d18bd3134b198b2bdf50563bc14a25b8a02611ac6a46f494c86b17ff1307089a87ad92442d99da3d408b4907b83f3c67f495a66ceaaddc2ee SHA512 998da9196055b011edf8b20595e548447d7a3cda3555a61c2645dac618dcebf8fcd3b257ae8948f93fd7720956f6dc2b554fb5521a8847017c4a2ab2e2b74e73
+DIST tty-color-0.5.1.tar.gz 10877 BLAKE2B 9ae72b4885ea1662038b6c98c672a349c458efb9b07747f2a1d2dfe69070efa08e45ae2fbaa513bbb8e7a9bee5a8a68a2b980456d64894df8556a4a6820b3770 SHA512 48144ef358cf04a4e88b0ee1cf96586c6c9a5d2862a7ea2a4fdcb92853c7b520d2cc94919b6dee97d9bf0384fa5bb9d8e0665730a9965de8b93af1edf459ebff
diff --git a/dev-ruby/tty-color/tty-color-0.5.1.ebuild b/dev-ruby/tty-color/tty-color-0.5.1.ebuild
new file mode 100644
index 000000000000..0d9e54158db7
--- /dev/null
+++ b/dev-ruby/tty-color/tty-color-0.5.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="tty-color.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Terminal color capabilities detection"
+HOMEPAGE="https://github.com/piotrmurach/tty-color"
+SRC_URI="https://github.com/piotrmurach/tty-color/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ echo '-rspec_helper' > .rspec || die
+
+ sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}