From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F15613832E for ; Wed, 3 Aug 2016 00:00:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49D6DE0AF0; Wed, 3 Aug 2016 00:00:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2D40E0AF0 for ; Wed, 3 Aug 2016 00:00:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18D06340AA1 for ; Wed, 3 Aug 2016 00:00:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F35C18DE for ; Wed, 3 Aug 2016 00:00:47 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1470182413.5224522045c4266b7326e2a9dbb657249d89ec59.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Test-Output/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Test-Output/Test-Output-1.30.0.ebuild X-VCS-Directories: dev-perl/Test-Output/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 5224522045c4266b7326e2a9dbb657249d89ec59 X-VCS-Branch: master Date: Wed, 3 Aug 2016 00:00:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 74745633-52e7-4221-acda-a95b96be6b4b X-Archives-Hash: 7c0c5f2bacde2d84254a7be7e9752295 commit: 5224522045c4266b7326e2a9dbb657249d89ec59 Author: Kent Fredric gentoo org> AuthorDate: Tue Aug 2 23:58:28 2016 +0000 Commit: Kent Fredric gentoo 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 +}