1 |
commit: 9716505b5f5519e31b1f4629aafda292530ca830 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 09:50:24 2016 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 09:52:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9716505b |
7 |
|
8 |
dev-perl/Test-Tester: Fix ~ vs * dependency on virtual/perl-Test-Simple |
9 |
|
10 |
~ rule was too narrow and didn't allow for _p522, where it should. |
11 |
|
12 |
However, anyone who installs dev-perl/Test-Tester on ~arch should actually |
13 |
skip installing this package, and instead blanket-uninstall dev-perl/Test-Tester |
14 |
in favour of >=virtual/perl-Test-Simple-1.1.14 |
15 |
|
16 |
Hence, einfo messages recommending its removal, and we're going to kill |
17 |
this package as soon as humanly possible, it just requires Test-Simple 1.1.14 |
18 |
and perl-5.22 stabilized to do so. |
19 |
|
20 |
Package-Manager: portage-2.3.0 |
21 |
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" |
22 |
|
23 |
...r-0.114.0.ebuild => Test-Tester-0.114.0-r1.ebuild} | 19 +++++++++++++++++-- |
24 |
1 file changed, 17 insertions(+), 2 deletions(-) |
25 |
|
26 |
diff --git a/dev-perl/Test-Tester/Test-Tester-0.114.0.ebuild b/dev-perl/Test-Tester/Test-Tester-0.114.0-r1.ebuild |
27 |
similarity index 51% |
28 |
rename from dev-perl/Test-Tester/Test-Tester-0.114.0.ebuild |
29 |
rename to dev-perl/Test-Tester/Test-Tester-0.114.0-r1.ebuild |
30 |
index d8e82cb..d59bde0 100644 |
31 |
--- a/dev-perl/Test-Tester/Test-Tester-0.114.0.ebuild |
32 |
+++ b/dev-perl/Test-Tester/Test-Tester-0.114.0-r1.ebuild |
33 |
@@ -1,4 +1,4 @@ |
34 |
-# Copyright 1999-2015 Gentoo Foundation |
35 |
+# Copyright 1999-2016 Gentoo Foundation |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
# $Id$ |
38 |
|
39 |
@@ -14,4 +14,19 @@ LICENSE="GPL-2" |
40 |
# this is just a dummy ebuild to help with portage dependency resolution on |
41 |
# Perl 5.22 upgrade - it does not install any files |
42 |
|
43 |
-RDEPEND="~virtual/perl-Test-Simple-1.1.14" |
44 |
+RDEPEND="=virtual/perl-Test-Simple-1.1.14*" |
45 |
+ |
46 |
+removal_message() { |
47 |
+ einfo "This package is only a stub for upgrade purposes and can now be removed" |
48 |
+ einfo "Equivalent modules now should be supported by either" |
49 |
+ einfo " a) virtual/perl-Test-Simple installing >=perl-core/Test-Simple-1.1.14" |
50 |
+ einfo " b) virtual/perl-Test-Simple installing >=dev-lang/perl-5.22.0" |
51 |
+} |
52 |
+ |
53 |
+pkg_postinst() { |
54 |
+ removal_message |
55 |
+} |
56 |
+ |
57 |
+pkg_info() { |
58 |
+ removal_message |
59 |
+} |