summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-11-08 07:33:28 +0100
committerHans de Graaff <graaff@gentoo.org>2020-11-08 07:33:28 +0100
commit5696adaa9bffbdd44db631fe95505d377c8d2b61 (patch)
tree006a0dcedac64fa8f8e3c16e4a75942c0e5ea8f1 /dev-ruby/tty-color
parentdev-ruby/mini_magick: add 4.11.0 (diff)
downloadgentoo-5696adaa9bffbdd44db631fe95505d377c8d2b61.tar.gz
gentoo-5696adaa9bffbdd44db631fe95505d377c8d2b61.tar.bz2
gentoo-5696adaa9bffbdd44db631fe95505d377c8d2b61.zip
dev-ruby/tty-color: add 0.6.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2 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.6.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/tty-color/Manifest b/dev-ruby/tty-color/Manifest
index 8b217241b160..e75caca214a6 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.2.tar.gz 11437 BLAKE2B a123a46f855a3c5b2c56b658ba9dd1987ce2e72684cfd2e673337de1ab802d28ae00fd9c5e761014314999c5590e2466a32c64a1b094dcfc3101a3754458ea10 SHA512 767566786d1d676bd1571f2cc040107ffc9532219bcff594acaac9ccf972d335cbb1838017e23fa3e32264e9e48f57b818690747e617851c43b3f7e37d2648eb
+DIST tty-color-0.6.0.tar.gz 12298 BLAKE2B c6d86666cbc8b46f2e5ef37556457bcffd4a92c65ae6a281ad989ded3d89ded8e3e3f5a1a3f91b009b7acdad9f2697d7100239c13eece4d2222c1fe1e8c2c2d0 SHA512 ab4f550ccf8fdc2cd0ad9368948819e4b77473a087510a4853036f18cfb21bab89e36631372cc5f2ee4f5d44c8c84954d14956d7cb7c3050e58d1ce19d11754f
diff --git a/dev-ruby/tty-color/tty-color-0.6.0.ebuild b/dev-ruby/tty-color/tty-color-0.6.0.ebuild
new file mode 100644
index 000000000000..26f62942b75c
--- /dev/null
+++ b/dev-ruby/tty-color/tty-color-0.6.0.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="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
+}