From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1729062-garchives=archives.gentoo.org@lists.gentoo.org>
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 finch.gentoo.org (Postfix) with ESMTPS id E4BAC1584F2
	for <garchives@archives.gentoo.org>; Tue, 18 Mar 2025 07:44:50 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id CB331343250
	for <garchives@archives.gentoo.org>; Tue, 18 Mar 2025 07:44:50 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 0FD171103C7;
	Tue, 18 Mar 2025 07:44:47 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 00CE61103C7
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 07:44:46 +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 A66E134319C
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 07:44:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 142EA2144
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 07:44:45 +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: <1742283874.2333a3b5d58ce0275d30dc7aa65182daed1d0a99.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/irb/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/irb/Manifest dev-ruby/irb/irb-1.15.1.ebuild
X-VCS-Directories: dev-ruby/irb/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 2333a3b5d58ce0275d30dc7aa65182daed1d0a99
X-VCS-Branch: master
Date: Tue, 18 Mar 2025 07:44:45 +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: 0d3fdb7c-e5c7-4460-ad1c-d08731989415
X-Archives-Hash: bfd7b6fafd3677638030c28138cff6e8

commit:     2333a3b5d58ce0275d30dc7aa65182daed1d0a99
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 07:44:14 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 07:44:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2333a3b5

dev-ruby/irb: add 1.15.1

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

 dev-ruby/irb/Manifest          |  1 +
 dev-ruby/irb/irb-1.15.1.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-ruby/irb/Manifest b/dev-ruby/irb/Manifest
index 6a366d99ae21..efe20c21d72b 100644
--- a/dev-ruby/irb/Manifest
+++ b/dev-ruby/irb/Manifest
@@ -1,3 +1,4 @@
 DIST irb-1.11.1.tar.gz 128341 BLAKE2B ec2ebfd31b7d784668ed043d32b86bc0f77481b250170911332f4b9810f0ee5245ec65aac4d2fa4fc94f49c5d3fa59dd7c3a709f712d9f7f4c1ed6ddd7f0e2b3 SHA512 6b8eaf41410d43f4ab47961b56ce054f93e134e5cba51a08294baaa6de149a209e243a9cf649091f3176adfd0c22943fe222b61b0ab1215e0822d7007c154f17
 DIST irb-1.13.2.tar.gz 139168 BLAKE2B 7dee24a02ad251e92c667c09a14af1e630bcd514c76290d146182c149cc083a394317ab7a1c46b6e0c34b84983e318d3e59b4ae74c63a17ce03d2677183135e0 SHA512 7d1e4c67ee5b43d37869ad37ec4cf356efe62d51f8a2205144c9d02a1157d23223a1453fef9016d85786c98445f11ff905eafef2f3dcdcf3432df75476076b57
 DIST irb-1.14.3.tar.gz 143455 BLAKE2B 2535287ff64b3d8f9cede57a033c4de91c96c6acc43bc464fdf106ba18d19758d74c63f85523adf725a488a538de05233d404c2975dd872c7dfc6c43ec589265 SHA512 c2a6235d2a50bb27ef4405cfb42cd1c1189c7d2b7d3a837331628206492e4e4b9d8af6d61b3b367bced3c5d9f16b16cb97f7273c3f982b4ecf0f3ea25f1bd39d
+DIST irb-1.15.1.tar.gz 145786 BLAKE2B a3b868f828f17a20c2e3dfe2feab4269067e2ba239949f3824357347d20112e77cdc99ce639754c35d3fba0587b9d3543bd878b24b588a4b4b3e8edbeef60cab SHA512 c846e6508bc19ab5106648627c79799dfe9cf581a10433160f210af198b28b9e3b47fc6f681fa4f5dabc2f3ce1468be663491b74dcd948486b219ce3c64bdd62

diff --git a/dev-ruby/irb/irb-1.15.1.ebuild b/dev-ruby/irb/irb-1.15.1.ebuild
new file mode 100644
index 000000000000..dc1b5df4c22c
--- /dev/null
+++ b/dev-ruby/irb/irb-1.15.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_BINDIR="exe"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="irb.gemspec"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Interactive Ruby command-line tool for REPL (Read Eval Print Loop)"
+HOMEPAGE="https://github.com/ruby/irb"
+SRC_URI="https://github.com/ruby/irb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+# Ensure a new enough eselect-ruby is present to avoid clobbering the
+# irb bin and man page.
+ruby_add_rdepend "
+	>=dev-ruby/pp-0.6.0
+	>=dev-ruby/rdoc-4.0.0
+	>=dev-ruby/reline-0.4.2
+	!<app-eselect/eselect-ruby-20231008
+"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/bundler
+		dev-ruby/debug
+		dev-ruby/test-unit
+		dev-ruby/test-unit-ruby-core
+	)"
+
+all_ruby_prepare() {
+	sed -e 's:_relative ":"./:' \
+		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Skip test requiring specific character set
+	sed -e '/test_raise_exception_with_different_encoding_containing_invalid_byte_sequence/aomit "charset"' \
+		-i test/irb/test_raise_exception.rb || die
+
+	# Skip tests that require the unpackaged tracer gem
+	sed -e '/test_use_tracer_enabled_when_gem_is_available/aomit "Requires tracer gem"' \
+		-i test/irb/test_tracer.rb || die
+
+	# Skip tests confused by our test path
+	sed -e '/test_backtrace_filtering/aomit "Fails due to unexpected paths"' \
+		-i test/irb/test_irb.rb || die
+}
+
+each_ruby_test() {
+	RUBYLIB=lib ${RUBY} -S rake test || die
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	doman man/irb.1
+}