From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1631938-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 7CC4B1581D3
	for <garchives@archives.gentoo.org>; Fri, 17 May 2024 05:06:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9632AE29EE;
	Fri, 17 May 2024 05:06:43 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 7801BE29EE
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 May 2024 05:06:43 +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 A3E8733BEE9
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 May 2024 05:06:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B8AE132F
	for <gentoo-commits@lists.gentoo.org>; Fri, 17 May 2024 05:06:41 +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: <1715922391.4a6e56e1fef19927997bc962aab462d24f87e283.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rexml/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/rexml/Manifest dev-ruby/rexml/rexml-3.2.8.ebuild
X-VCS-Directories: dev-ruby/rexml/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 4a6e56e1fef19927997bc962aab462d24f87e283
X-VCS-Branch: master
Date: Fri, 17 May 2024 05:06:41 +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: 45254a7b-6301-45a7-86bd-a24c22f357ba
X-Archives-Hash: ad722441913f768376ff5609ee6fc876

commit:     4a6e56e1fef19927997bc962aab462d24f87e283
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 05:06:20 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri May 17 05:06:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a6e56e1

dev-ruby/rexml: add 3.2.8

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

 dev-ruby/rexml/Manifest           |  1 +
 dev-ruby/rexml/rexml-3.2.8.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest
index f3b992c26447..b0f32ca2a9b6 100644
--- a/dev-ruby/rexml/Manifest
+++ b/dev-ruby/rexml/Manifest
@@ -1 +1,2 @@
 DIST rexml-3.2.6.tar.gz 459069 BLAKE2B 737b4a8836cae8614bc7a8e579f5c141e3d0e2114a6f6084a186795fa2d0a0008a7cb5d5a8c493b3a4204a901a26c617054ef3b93a7ed845b2f3398f5e25f5ca SHA512 bbf278ed25fbf4d814de9df3cbca691ab43d4e502a02b081e894ce82c161b1931d850df54074ef81c9cb470dca10a81c631da7ccbf908401818fca4c9a4aa5c4
+DIST rexml-3.2.8.tar.gz 460176 BLAKE2B 25b7563c1bc6eacf1b39106fde09c20d34040e5b99d7a38502d4e71cf96fffa08772cdf6def0c50d9e2d116af70a6bd0469aa1dd0512d7c5eca043b9e71979b7 SHA512 255bd834f5c7584a87979a8896fef761ada8d0beb5458cc86b16df59d8634bf1446a0fb679935c003a9a5be7a03ffcb2bf86d08e0f26b0d0f7a3dfbaa87da325

diff --git a/dev-ruby/rexml/rexml-3.2.8.ebuild b/dev-ruby/rexml/rexml-3.2.8.ebuild
new file mode 100644
index 000000000000..2e93e18cce62
--- /dev/null
+++ b/dev-ruby/rexml/rexml-3.2.8.ebuild
@@ -0,0 +1,40 @@
+# 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_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An XML toolkit for Ruby"
+HOMEPAGE="https://github.com/ruby/rexml"
+SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+
+SLOT="3"
+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"
+
+ruby_add_rdepend ">=dev-ruby/strscan-3.0.9"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+	sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
+	sed -i -e '/bundler/I s:^:#:' Rakefile || die
+
+	# Ensure we use the (new enough) gem version of strscan. The
+	# versions bundled with ruby up to at least 3.3.1 are all too old.
+	sed -e '3igem "strscan"' \
+		-i test/helper.rb || die
+}
+
+each_ruby_test() {
+	${RUBY} test/run.rb || die
+}