dev-perl/Test-Tester: Fix ~ vs * dependency on virtual/perl-Test-Simple
authorKent Fredric <kentnl@gentoo.org>
Tue, 2 Aug 2016 09:50:24 +0000 (21:50 +1200)
committerKent Fredric <kentnl@gentoo.org>
Tue, 2 Aug 2016 09:52:04 +0000 (21:52 +1200)
~ rule was too narrow and didn't allow for _p522, where it should.

However, anyone who installs dev-perl/Test-Tester on ~arch should actually
skip installing this package, and instead blanket-uninstall dev-perl/Test-Tester
in favour of >=virtual/perl-Test-Simple-1.1.14

Hence, einfo messages recommending its removal, and we're going to kill
this package as soon as humanly possible, it just requires Test-Simple 1.1.14
and perl-5.22 stabilized to do so.

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-Tester/Test-Tester-0.114.0-r1.ebuild [moved from dev-perl/Test-Tester/Test-Tester-0.114.0.ebuild with 51% similarity]

similarity index 51%
rename from dev-perl/Test-Tester/Test-Tester-0.114.0.ebuild
rename to dev-perl/Test-Tester/Test-Tester-0.114.0-r1.ebuild
index d8e82cbbb6a6de4bedcbf0fc2d7a60161471683b..d59bde092a57245538ee60d33f595c62c8bd14dc 100644 (file)
@@ -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$
 
@@ -14,4 +14,19 @@ LICENSE="GPL-2"
 # this is just a dummy ebuild to help with portage dependency resolution on
 # Perl 5.22 upgrade - it does not install any files
 
-RDEPEND="~virtual/perl-Test-Simple-1.1.14"
+RDEPEND="=virtual/perl-Test-Simple-1.1.14*"
+
+removal_message() {
+       einfo "This package is only a stub for upgrade purposes and can now be removed"
+       einfo "Equivalent modules now should be supported by either"
+       einfo " a) virtual/perl-Test-Simple installing >=perl-core/Test-Simple-1.1.14"
+       einfo " b) virtual/perl-Test-Simple installing >=dev-lang/perl-5.22.0"
+}
+
+pkg_postinst() {
+       removal_message
+}
+
+pkg_info() {
+       removal_message
+}