From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1653912-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 4339915939F
	for <garchives@archives.gentoo.org>; Wed, 17 Jul 2024 05:37:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 37A0F2BC0B4;
	Wed, 17 Jul 2024 05:37:37 +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 1B8692BC0B4
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Jul 2024 05:37:37 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 356CE33D9AD
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Jul 2024 05:37:36 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E42D1E3A
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Jul 2024 05:37:33 +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: <1721194630.d4d18a634fc01a99adc0dada0eb76a0a306e9fe4.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-feedparser/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/ruby-feedparser/ruby-feedparser-0.11.2.ebuild
X-VCS-Directories: dev-ruby/ruby-feedparser/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: d4d18a634fc01a99adc0dada0eb76a0a306e9fe4
X-VCS-Branch: master
Date: Wed, 17 Jul 2024 05:37:33 +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: 257574c5-f097-468f-9844-471e785b9696
X-Archives-Hash: 99f7a217a0f707e113fd846089e0dea7

commit:     d4d18a634fc01a99adc0dada0eb76a0a306e9fe4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 19:30:21 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 05:37:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d18a63

dev-ruby/ruby-feedparser: enable ruby33

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

 dev-ruby/ruby-feedparser/ruby-feedparser-0.11.2.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.2.ebuild b/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.2.ebuild
index ea66a5ed4a44..9a61b0a632f8 100644
--- a/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.2.ebuild
+++ b/dev-ruby/ruby-feedparser/ruby-feedparser-0.11.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_EXTRADOC="README"
 
@@ -17,14 +17,14 @@ HOMEPAGE="https://github.com/feed2imap/ruby-feedparser"
 SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64"
 SLOT="0"
-IUSE=""
+KEYWORDS="~amd64"
+IUSE="test"
 
 ruby_add_rdepend "dev-ruby/magic"
 
 ruby_add_bdepend "dev-ruby/magic
-	test? ( dev-ruby/mocha:1.0 )"
+	test? ( dev-ruby/mocha:2 dev-ruby/test-unit )"
 
 all_ruby_prepare() {
 	# Extract gemspec source from Rakefile
@@ -32,7 +32,8 @@ all_ruby_prepare() {
 	sed -i -e 's/PKG_NAME/"'${PN}'"/' \
 		-e 's/PKG_VERSION/"'${PV}'"/' \
 		-e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
-	sed -i -e '2igem "mocha", "<2"' test/tc_sgml_parser.rb || die
+
+	sed -e '/mocha/ s/setup/test_unit/' -i test/tc_sgml_parser.rb || die
 }
 
 each_ruby_prepare() {