From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1504923-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 CD8E715ACB3
	for <garchives@archives.gentoo.org>; Fri,  7 Apr 2023 02:48:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D253BE07A7;
	Fri,  7 Apr 2023 02:48:55 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 83E84E07A7
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Apr 2023 02:48:55 +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 72F9B335D80
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Apr 2023 02:48:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CAB70A20
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Apr 2023 02:48:52 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1680835672.efe10207e80df81b01b43c7d5a80482236392c26.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activesupport/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild dev-ruby/activesupport/activesupport-6.0.5.1.ebuild dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild dev-ruby/activesupport/activesupport-6.0.6.1.ebuild dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild dev-ruby/activesupport/activesupport-6.1.6.1.ebuild dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild dev-ruby/activesupport/activesupport-6.1.7.2.ebuild dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild dev-ruby/activesupport/activesupport-6.1.7.3.ebuild dev-ruby/activesupport/activesupport-6.1.7.ebuild dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild dev-ruby/activesupport/activesupport-7.0.4.2.ebuild dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild dev-ruby/activesupport/activesupport-7.0.4.3.ebuild dev-ruby/activesupport/activesupport-7.0.4.ebuild
X-VCS-Directories: dev-ruby/activesupport/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: efe10207e80df81b01b43c7d5a80482236392c26
X-VCS-Branch: master
Date: Fri,  7 Apr 2023 02:48:52 +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: 312108a1-c2ee-4dc2-a9c7-8196589f0b84
X-Archives-Hash: 65dacd49a024c04c7877286380b6a876

commit:     efe10207e80df81b01b43c7d5a80482236392c26
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  6 06:25:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 02:47:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe10207

dev-ruby/activesupport: adapt to slotted dev-ruby/minitest

Rails needs <dev-ruby/minitest-5.16. We've slotted minitest because
ruby32 needs >=dev-ruby/minitest-5.16, so adapt the dep accordingly.

Note that activesupport *also* needs minitest at runtime and from
when I tried testing/patching activesupport for minitest-5.16+, it's
broken when others try to use it for testing w/ 5.16, so change RDEPEND too.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...ctivesupport-6.0.5.1.ebuild => activesupport-6.0.5.1-r1.ebuild} | 7 ++++---
 ...ctivesupport-6.0.6.1.ebuild => activesupport-6.0.6.1-r1.ebuild} | 5 +++--
 ...ctivesupport-6.1.6.1.ebuild => activesupport-6.1.6.1-r1.ebuild} | 7 ++++---
 ...{activesupport-6.1.7.3.ebuild => activesupport-6.1.7-r1.ebuild} | 5 +++--
 ...ctivesupport-6.1.7.2.ebuild => activesupport-6.1.7.2-r1.ebuild} | 5 +++--
 ...{activesupport-6.1.7.ebuild => activesupport-6.1.7.3-r1.ebuild} | 7 ++++---
 ...{activesupport-7.0.4.2.ebuild => activesupport-7.0.4-r1.ebuild} | 5 +++--
 ...{activesupport-7.0.4.ebuild => activesupport-7.0.4.2-r1.ebuild} | 7 ++++---
 ...ctivesupport-7.0.4.3.ebuild => activesupport-7.0.4.3-r1.ebuild} | 5 +++--
 9 files changed, 31 insertions(+), 22 deletions(-)

diff --git a/dev-ruby/activesupport/activesupport-6.0.5.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
similarity index 94%
rename from dev-ruby/activesupport/activesupport-6.0.5.1.ebuild
rename to dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
index 43548b7c90bd..3308b86b956f 100644
--- a/dev-ruby/activesupport/activesupport-6.0.5.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,7 +30,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	dev-ruby/i18n:1
 	>=dev-ruby/tzinfo-1.1:1
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 	>=dev-ruby/zeitwerk-2.2:2
 "
 
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
 	>=dev-ruby/listen-3.0.5:3
 	dev-ruby/rack
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -60,6 +59,8 @@ all_ruby_prepare() {
 	rm ../Gemfile.lock || die
 	sed -i -e '1igem "tzinfo", "~> 1.1"; gem "psych", "~> 3.0"' test/abstract_unit.rb || die
 
+	sed -i -e '/minitest.*~> 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-6.0.6.1.ebuild b/dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
similarity index 95%
rename from dev-ruby/activesupport/activesupport-6.0.6.1.ebuild
rename to dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
index 473970606372..472f44c5a7fe 100644
--- a/dev-ruby/activesupport/activesupport-6.0.6.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.0.6.1-r1.ebuild
@@ -29,8 +29,8 @@ RUBY_S="rails-${PV}/${PN}"
 ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	dev-ruby/i18n:1
+	<dev-ruby/minitest-5.16:*
 	>=dev-ruby/tzinfo-1.1:1
-	>=dev-ruby/minitest-5.1:5
 	>=dev-ruby/zeitwerk-2.2:2
 "
 
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
 	>=dev-ruby/listen-3.0.5:3
 	dev-ruby/rack
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -60,6 +59,8 @@ all_ruby_prepare() {
 	rm ../Gemfile.lock || die
 	sed -i -e '1igem "tzinfo", "~> 1.1"; gem "psych", "~> 3.0"' test/abstract_unit.rb || die
 
+	sed -i -e '/minitest.*~> 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-6.1.6.1.ebuild b/dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
similarity index 94%
rename from dev-ruby/activesupport/activesupport-6.1.6.1.ebuild
rename to dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
index 613922116101..1842d1c057d8 100644
--- a/dev-ruby/activesupport/activesupport-6.1.6.1.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.6.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 	>=dev-ruby/zeitwerk-2.3:2
 "
 
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
 	rm ../Gemfile.lock || die
 #	sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild b/dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
similarity index 96%
rename from dev-ruby/activesupport/activesupport-6.1.7.3.ebuild
rename to dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
index 019a5ee151fb..268c519f718c 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.3.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 	>=dev-ruby/zeitwerk-2.3:2
 "
 
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
 	rm ../Gemfile.lock || die
 #	sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-6.1.7.2.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
similarity index 96%
rename from dev-ruby/activesupport/activesupport-6.1.7.2.ebuild
rename to dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
index 99169f856a6d..1611bfb4a059 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.2.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.2-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+<dev-ruby/minitest-5.16:*
 	>=dev-ruby/zeitwerk-2.3:2
 "
 
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
 	rm ../Gemfile.lock || die
 #	sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-6.1.7.ebuild b/dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
similarity index 94%
rename from dev-ruby/activesupport/activesupport-6.1.7.ebuild
rename to dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
index 76d366006776..268c519f718c 100644
--- a/dev-ruby/activesupport/activesupport-6.1.7.ebuild
+++ b/dev-ruby/activesupport/activesupport-6.1.7.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 	>=dev-ruby/zeitwerk-2.3:2
 "
 
@@ -43,7 +43,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -59,6 +58,8 @@ all_ruby_prepare() {
 	rm ../Gemfile.lock || die
 #	sed -i -e '1igem "tzinfo", "~> 1.1"' test/abstract_unit.rb || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-7.0.4.2.ebuild b/dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
similarity index 96%
rename from dev-ruby/activesupport/activesupport-7.0.4.2.ebuild
rename to dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
index f0801876283b..cf215798d810 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.2.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 "
 
 # memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -58,6 +57,8 @@ all_ruby_prepare() {
 		-e '5igem "builder"; gem "rack"' ../Gemfile || die
 	rm ../Gemfile.lock || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-7.0.4.ebuild b/dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
similarity index 94%
rename from dev-ruby/activesupport/activesupport-7.0.4.ebuild
rename to dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
index 1ae44774dde0..cf215798d810 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 "
 
 # memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 all_ruby_prepare() {
@@ -58,6 +57,8 @@ all_ruby_prepare() {
 		-e '5igem "builder"; gem "rack"' ../Gemfile || die
 	rm ../Gemfile.lock || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die
 

diff --git a/dev-ruby/activesupport/activesupport-7.0.4.3.ebuild b/dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
similarity index 96%
rename from dev-ruby/activesupport/activesupport-7.0.4.3.ebuild
rename to dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
index b8a341ae5558..a328f33b0256 100644
--- a/dev-ruby/activesupport/activesupport-7.0.4.3.ebuild
+++ b/dev-ruby/activesupport/activesupport-7.0.4.3-r1.ebuild
@@ -28,7 +28,7 @@ ruby_add_rdepend "
 	>=dev-ruby/concurrent-ruby-1.0.2:1
 	>=dev-ruby/i18n-1.6:1
 	dev-ruby/tzinfo:2
-	>=dev-ruby/minitest-5.1:5
+	<dev-ruby/minitest-5.16:*
 "
 
 # memcache-client, nokogiri, builder, and redis are not strictly needed,
@@ -42,7 +42,6 @@ ruby_add_bdepend "test? (
 	dev-ruby/rack
 	dev-ruby/rexml
 	dev-ruby/mocha
-	<dev-ruby/minitest-5.16:5
 	)"
 
 PATCHES=(
@@ -62,6 +61,8 @@ all_ruby_prepare() {
 		-e '5igem "builder"; gem "rack"' ../Gemfile || die
 	rm ../Gemfile.lock || die
 
+	sed -i -e '/minitest.*>= 5.1/s:.*:&, "< 5.16":' ${RUBY_FAKEGEM_GEMSPEC} || die
+
 	# Avoid test that depends on timezone
 	sed -i -e '/test_implicit_coercion/,/^  end/ s:^:#:' test/core_ext/duration_test.rb || die