dev-perl/Test-CleanNamespaces: Weaken dependency on dev-perl/Test-Tester
authorKent Fredric <kentnl@gentoo.org>
Tue, 2 Aug 2016 21:51:05 +0000 (09:51 +1200)
committerKent Fredric <kentnl@gentoo.org>
Tue, 2 Aug 2016 22:14:35 +0000 (10:14 +1200)
commit1e16f7f70a224731b1b7bc53bb47b8ab1da211e9
tree89a7b60270ae833b25e333c214d7df951df8e20d
parent849ab1f3c1d7397246e5957208bbd06528895b6d
dev-perl/Test-CleanNamespaces: Weaken dependency on dev-perl/Test-Tester

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

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-CleanNamespaces/Test-CleanNamespaces-0.180.0.ebuild