summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-04-14 07:59:52 +0200
committerHans de Graaff <graaff@gentoo.org>2024-04-14 07:59:52 +0200
commit847470e9ff91359413398e72b2134faf9052b817 (patch)
tree350ac21767d3000b0258f4288f52e27d5e27b3bb /dev-ruby/term-ansicolor
parentmedia-libs/libsixel: fix bash completion (diff)
downloadgentoo-847470e9ff91359413398e72b2134faf9052b817.tar.gz
gentoo-847470e9ff91359413398e72b2134faf9052b817.tar.bz2
gentoo-847470e9ff91359413398e72b2134faf9052b817.zip
dev-ruby/term-ansicolor: add 1.8.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/term-ansicolor')
-rw-r--r--dev-ruby/term-ansicolor/Manifest1
-rw-r--r--dev-ruby/term-ansicolor/term-ansicolor-1.8.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/term-ansicolor/Manifest b/dev-ruby/term-ansicolor/Manifest
index 48a45f3c5d3c..ae9bb673fc8c 100644
--- a/dev-ruby/term-ansicolor/Manifest
+++ b/dev-ruby/term-ansicolor/Manifest
@@ -1,2 +1,3 @@
DIST term-ansicolor-1.7.1.gem 44544 BLAKE2B 2c2c2de0a18d1f9a975901f8a7005f740ac81a609c43705d8c184deb26dc9010876deeca411488c787132a3d8b78339c75b0776f3c9bba1ff71efa23ce3671a6 SHA512 d49f8825c31accfaa58a2f34ed5fbdaf503d4b47c23f07c52cc82bbf6cce457bd9371e197da1ec36dc83e32b95e9ea9a349922d9759a827923456ea46f81ff50
DIST term-ansicolor-1.7.2.gem 44544 BLAKE2B 46ec73afb7f9862960a68feee4664babc2bd3597aa48dd59712c9f48d3e6d1a0a2a1bc0e6ecfdbd196a97f79d66460535f6fb6ca347edfffed52187eebf79b15 SHA512 e81fc32f07d5f85eb0f364069afb143f87dea9fab6c6dd03bba95cdcc74495cdfb87ee334f595c8636226e50801274191a083eee5b70c3e8289d04cc49a1acb6
+DIST term-ansicolor-1.8.0.gem 45056 BLAKE2B 89edaf5ecb56dada8027ab91009b71a6ee9a27c85bddeda26d281230e0fc15f32a2de1c3259d02560bdf9c81a2ed92a920521eec17670eaa0b8db1264ff7311c SHA512 4a13f369c03d3660f48f28068f311d5eb806e2e4724da6a3ee38eb0ed3c195a1ce8ea24215dfe80af5aab8df1f6a86fdd89d54c62ee2fb9b7e782f9e5ed3013f
diff --git a/dev-ruby/term-ansicolor/term-ansicolor-1.8.0.ebuild b/dev-ruby/term-ansicolor/term-ansicolor-1.8.0.ebuild
new file mode 100644
index 000000000000..083252989b93
--- /dev/null
+++ b/dev-ruby/term-ansicolor/term-ansicolor-1.8.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
+
+RUBY_FAKEGEM_GEMSPEC="term-ansicolor.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Small Ruby library that colors strings using ANSI escape sequences"
+HOMEPAGE="https://flori.github.io/term-ansicolor/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+ruby_add_rdepend ">=dev-ruby/tins-1.0"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:tests -e 'Dir["tests/*_test.rb"].each{|f| require f}' || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}