dev-perl/Test-NoWarnings: Weaken dependency on dev-perl/Test-Tester
authorKent Fredric <kentnl@gentoo.org>
Tue, 2 Aug 2016 23:11:29 +0000 (11:11 +1200)
committerKent Fredric <kentnl@gentoo.org>
Tue, 2 Aug 2016 23:13:40 +0000 (11:13 +1200)
commit8fea9a70696855a5acfd05df20cc725fc6aff186
treeb22d59f95246556b8833cb8ad1e24a61005298d2
parent185144a4afd1131547e2057e767bafb2000d1c5d
dev-perl/Test-NoWarnings: Weaken dependency on dev-perl/Test-Tester

Without this fix, Test-NoWarnings 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.

-r bump required as Test-Tester was declared as a Runtime Requirement, even
though source analysis indicated it was a Testing Only requirement.

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

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
dev-perl/Test-NoWarnings/Test-NoWarnings-1.40.0-r3.ebuild [moved from dev-perl/Test-NoWarnings/Test-NoWarnings-1.40.0-r2.ebuild with 51% similarity]