From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1538915-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 B32CD15800A
	for <garchives@archives.gentoo.org>; Thu, 20 Jul 2023 06:23:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0017FE0885;
	Thu, 20 Jul 2023 06:23:01 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C8F7AE0885
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jul 2023 06:23:01 +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 87447340BC9
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jul 2023 06:23:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BA4FBB8B
	for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jul 2023 06:22:58 +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: <1689834175.19de28091343bf3e63d6762124d130717491b018.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/console/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/console/Manifest dev-ruby/console/console-1.17.4.ebuild
X-VCS-Directories: dev-ruby/console/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 19de28091343bf3e63d6762124d130717491b018
X-VCS-Branch: master
Date: Thu, 20 Jul 2023 06:22:58 +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: 67784843-ce33-49aa-9730-74d766c41dcb
X-Archives-Hash: f7476f9be36a5026b66bc4da70db0724

commit:     19de28091343bf3e63d6762124d130717491b018
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 20 06:04:09 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 06:22:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19de2809

dev-ruby/console: add 1.17.4

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

 dev-ruby/console/Manifest              |  1 +
 dev-ruby/console/console-1.17.4.ebuild | 36 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-ruby/console/Manifest b/dev-ruby/console/Manifest
index 724c58663d02..cc1e200dd0d1 100644
--- a/dev-ruby/console/Manifest
+++ b/dev-ruby/console/Manifest
@@ -1,2 +1,3 @@
 DIST console-1.16.2.tar.gz 24609 BLAKE2B 470e6fb547e594d6e4add21c11bccca2d239d5430e148bdd99fe925d57058a3e7304b96c793c72a68ac3df3e285c1b7719b5a1e0db833350b0ef55ac17cca4f8 SHA512 fe32ea7b3ab11319fcefc098571e2a4fff2fec2a56c53880731ab15deca75e84c94cc30456fea264e6201996311dc705799814e5c1d7c32e7b7d786fcac9588e
 DIST console-1.17.2.tar.gz 24861 BLAKE2B c738249eadafe43c4528ebf75d30b51aa1d015fb9fa6cefaa7302bce0d81ab431b4e84ed3d25b8c5376e64b5b1fb8154b91858e15ad72ce6cb746fd18818bb33 SHA512 1c734d335d3928ca580e274857df1d18c05ce254bfdf8401b7c40b391db7d134b6b6b0327e7bb29d5f7c37522335a33cb58a29cf53aabb36279fa601e581a891
+DIST console-1.17.4.tar.gz 24889 BLAKE2B 8e7a5bad0a6420787bc17f3819f78f8c3d73816c79ca3a80d89bac3e44865028f3544ffc63b0bd7c7ef81f6add3500ecb067c5dbba5d543fded960d18f30c355 SHA512 b9d8751cb11cce21570463687b60eeb65e5b808e9a905a90a0444fb06e9b8569b439230d87a2430f0050c25a5cec18a50684e577bdfefc5cb9bafbcd877c7b0d

diff --git a/dev-ruby/console/console-1.17.4.ebuild b/dev-ruby/console/console-1.17.4.ebuild
new file mode 100644
index 000000000000..e3712651f8a4
--- /dev/null
+++ b/dev-ruby/console/console-1.17.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="sus"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Beautiful logging for Ruby"
+HOMEPAGE="https://github.com/socketry/console"
+SRC_URI="https://github.com/socketry/console/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+	dev-ruby/fiber-annotation
+	dev-ruby/fiber-local
+"
+
+all_ruby_prepare() {
+	sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+	# Avoid dependency on covered.
+	rm -f config/sus.rb || die
+
+	# Avoid sandbox violation during tests
+	sed -i -e 's:/tmp/:'"${TMPDIR}"'/:' test/console/output.rb || die
+}