From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1510347-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8A83C15ACFB
	for <garchives@archives.gentoo.org>; Sat, 22 Apr 2023 14:44:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B75CEE0866;
	Sat, 22 Apr 2023 14:44:19 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8D01BE0866
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 14:44:19 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 84C4E3412E8
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 14:44:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D39DA3F
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 14:44:15 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1682174651.e00c4d12cec09aaad4e63a01c811c71ea2c48757.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/colorize/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/colorize/colorize-0.8.1-r2.ebuild
X-VCS-Directories: dev-ruby/colorize/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: e00c4d12cec09aaad4e63a01c811c71ea2c48757
X-VCS-Branch: master
Date: Sat, 22 Apr 2023 14:44:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f1f03869-372f-47fe-bc26-3c272c213d25
X-Archives-Hash: 6a729d704e79135d40aca3716ee7ba02

commit:     e00c4d12cec09aaad4e63a01c811c71ea2c48757
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 14:41:59 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 14:44:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00c4d12

dev-ruby/colorize: update EAPI 7 -> 8

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/colorize/colorize-0.8.1-r2.ebuild | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/dev-ruby/colorize/colorize-0.8.1-r2.ebuild b/dev-ruby/colorize/colorize-0.8.1-r2.ebuild
new file mode 100644
index 000000000000..43adf45d8016
--- /dev/null
+++ b/dev-ruby/colorize/colorize-0.8.1-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Adds methods to set color, background color and text effect on console easier"
+HOMEPAGE="https://github.com/fazibear/colorize"
+LICENSE="GPL-2+"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+all_ruby_prepare() {
+	sed -i -e "/[Cc]ode[Cc]limate/d" test/test_colorize.rb || die
+}
+
+each_ruby_test() {
+	cd test || die
+	${RUBY} test_colorize.rb || die
+}