public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Test-Output/
Date: Wed,  3 Aug 2016 00:00:47 +0000 (UTC)	[thread overview]
Message-ID: <1470182413.5224522045c4266b7326e2a9dbb657249d89ec59.kentnl@gentoo> (raw)

commit:     5224522045c4266b7326e2a9dbb657249d89ec59
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 23:58:28 2016 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 00:00:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52245220

dev-perl/Test-Output: Weaken dependency on dev-perl/Test-Tester

Without this fix, Test-Output effectively needs perl-5.22
stabilized in order to satisfy Test-Tester from Perl-5.22

However, satisfying Test-Tester from a mechanism other than Perl-5.22
confuses portages dependency resolver, and confuses portage to not be able
to upgrade perl, and not being able to upgrade perl means perl can't be
stabilized, invoking a stabilization-needs-stabilization bug.

Hence, the choice here optimises for assuming stabilization will
happen/has happened, and removes any dependency on Test::Tester, assuming
portage will eventually provide it for you.

And just to be sure, we use perl before the test phase executes
to determine if Test::Tester was /actually/ installed and then only run tests
if it was.

This means before stabilization, some people *might* install this and not have
tests run, but everyone *will* get tests working after stabilization, as
opposed to the opposite occurring and stabilization being blocked.

Keyword Note: Stable keywords for arm64, m68k, s390 and sh are not
satisfied by dev-perl/Sub-Exporter. This was a residual issue and remains
to be fixed.

Bug: https://bugs.gentoo.org/584238

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm hppa ia64 mips nios2 ppc ppc64 riscv sparc sparc-fbsd x86 x86-fbsd"

 dev-perl/Test-Output/Test-Output-1.30.0.ebuild | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Test-Output/Test-Output-1.30.0.ebuild b/dev-perl/Test-Output/Test-Output-1.30.0.ebuild
index e1af282..5aae85a 100644
--- a/dev-perl/Test-Output/Test-Output-1.30.0.ebuild
+++ b/dev-perl/Test-Output/Test-Output-1.30.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,8 +23,18 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	test? (
 		virtual/perl-Test-Simple
-		|| ( >=virtual/perl-Test-Simple-1.1.10 >=dev-perl/Test-Tester-0.107 )
 	)
 "
 
 SRC_TEST=do
+
+src_test() {
+	# Bug 584238 Avoidance
+	if perl -e 'exit ( eval { require Test::Tester; Test::Tester->VERSION(0.107); 1 } ? 0 : 1 )'; then
+		perl-module_src_test
+	else
+		einfo "Test phase skipped: Test::Tester required for tests"
+		einfo "Please upgrade to >=dev-lang/perl-5.22.0 or >=virtual/perl-Test-Simple-1.1.10"
+		einfo "if you want this tested"
+	fi
+}


             reply	other threads:[~2016-08-03  0:00 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-03  0:00 Kent Fredric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-12 14:58 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Test-Output/ Sam James
2025-07-12  5:00 Sam James
2025-07-12  3:51 Sam James
2025-07-12  3:11 Sam James
2025-06-06  2:30 Sam James
2025-03-14  6:11 Sam James
2025-03-06  1:23 Sam James
2025-03-05 23:31 Jakov Smolić
2025-03-03 20:23 Sam James
2025-03-03 20:23 Sam James
2025-03-03 20:23 Sam James
2025-03-03 20:20 Sam James
2025-03-03 20:20 Sam James
2025-01-22  5:32 Sam James
2023-08-19  6:10 Sam James
2023-08-19  6:10 Sam James
2023-08-19  6:07 Sam James
2023-08-19  5:58 Sam James
2023-08-19  5:58 Sam James
2023-07-06  4:14 Sam James
2021-12-10 17:21 Andreas K. Hüttel
2021-12-05  4:05 Sam James
2021-12-05  4:03 Sam James
2021-12-05  4:02 Sam James
2021-12-05  3:45 Sam James
2021-12-05  3:44 Sam James
2021-12-05  3:04 Sam James
2021-08-28 19:12 Andreas K. Hüttel
2021-03-15  6:32 Sam James
2020-09-03 10:16 Yixun Lan
2020-04-15 15:40 Kent Fredric
2018-09-26 19:05 Markus Meier
2018-08-25 18:08 Sergei Trofimovich
2018-08-21  0:05 Sergei Trofimovich
2018-08-20  4:13 Matt Turner
2018-08-20  2:26 Mikle Kolyada
2018-08-19 18:39 Matt Turner
2018-03-28 17:27 Matt Turner
2017-04-02 15:49 Kent Fredric
2017-01-29 12:31 Fabian Groffen
2016-08-18  3:01 Kent Fredric
2015-10-07  8:11 Patrice Clement
2015-10-07  8:11 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470182413.5224522045c4266b7326e2a9dbb657249d89ec59.kentnl@gentoo \
    --to=kentnl@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox