1 |
commit: cb9d5dce67e0539e09e281382905e0647d18e098 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 8 18:34:35 2018 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 18:34:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9d5dce |
7 |
|
8 |
dev-perl/ShipIt: Fix test failures re bug #623102 |
9 |
|
10 |
- EAPI6 |
11 |
- Fix test failures |
12 |
- Remove bogus CPAN remote-id |
13 |
|
14 |
Bug: https://bugs.gentoo.org/623102 |
15 |
Package-Manager: Portage-2.3.18, Repoman-2.3.6 |
16 |
|
17 |
dev-perl/ShipIt/ShipIt-0.600.0-r1.ebuild | 21 +++++++ |
18 |
.../ShipIt/files/ShipIt-0.60-version-test.patch | 65 ++++++++++++++++++++++ |
19 |
dev-perl/ShipIt/metadata.xml | 1 - |
20 |
3 files changed, 86 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/dev-perl/ShipIt/ShipIt-0.600.0-r1.ebuild b/dev-perl/ShipIt/ShipIt-0.600.0-r1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..5425b69cda0 |
25 |
--- /dev/null |
26 |
+++ b/dev-perl/ShipIt/ShipIt-0.600.0-r1.ebuild |
27 |
@@ -0,0 +1,21 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+DIST_AUTHOR=MIYAGAWA |
34 |
+DIST_VERSION=0.60 |
35 |
+inherit perl-module |
36 |
+ |
37 |
+DESCRIPTION="Software Release Tool" |
38 |
+ |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~ppc ~x86" |
41 |
+IUSE="" |
42 |
+ |
43 |
+PATCHES=( "${FILESDIR}/${PN}-0.60-version-test.patch" ) |
44 |
+ |
45 |
+pkg_postinst() { |
46 |
+ elog "Please note that ShipIt does not depend on any specific VCS." |
47 |
+ elog "You must install a supported VCS (CVS, SVN, SVK, GIT, HG) for use." |
48 |
+} |
49 |
|
50 |
diff --git a/dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch b/dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch |
51 |
new file mode 100644 |
52 |
index 00000000000..e4efb4937f7 |
53 |
--- /dev/null |
54 |
+++ b/dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch |
55 |
@@ -0,0 +1,65 @@ |
56 |
+From 7d72ab2c8127e6728b60ffdc63af50e522366428 Mon Sep 17 00:00:00 2001 |
57 |
+From: Shohei YOSHIDA <shohei.yoshida@××××.com> |
58 |
+Date: Thu, 19 Jan 2017 14:58:10 +0900 |
59 |
+Subject: Remove alpha version test |
60 |
+ |
61 |
+version.pm changed alpha version specification so that its test |
62 |
+makes no sense with latest version.pm |
63 |
+ |
64 |
+Bug: https://bugs.gentoo.org/623102 |
65 |
+Bug: https://rt.cpan.org/Ticket/Display.html?id=112501 |
66 |
+--- |
67 |
+ MANIFEST | 1 - |
68 |
+ t/data/Perl/04.pm | 5 ----- |
69 |
+ t/version_from_file_perl.t | 4 ++-- |
70 |
+ 3 files changed, 2 insertions(+), 8 deletions(-) |
71 |
+ delete mode 100644 t/data/Perl/04.pm |
72 |
+ |
73 |
+diff --git a/MANIFEST b/MANIFEST |
74 |
+index b9b3cc1..a13981a 100644 |
75 |
+--- a/MANIFEST |
76 |
++++ b/MANIFEST |
77 |
+@@ -34,7 +34,6 @@ shipit |
78 |
+ t/data/Perl/01.pm |
79 |
+ t/data/Perl/02.pm |
80 |
+ t/data/Perl/03.pm |
81 |
+-t/data/Perl/04.pm |
82 |
+ t/data/Perl/05.pm |
83 |
+ t/data/Perl/06.pm |
84 |
+ t/data/Perl/07.pm |
85 |
+diff --git a/t/data/Perl/04.pm b/t/data/Perl/04.pm |
86 |
+deleted file mode 100644 |
87 |
+index 1744dd1..0000000 |
88 |
+--- a/t/data/Perl/04.pm |
89 |
++++ /dev/null |
90 |
+@@ -1,5 +0,0 @@ |
91 |
+-package something; |
92 |
+- |
93 |
+-use version; our $VERSION = qv('v1.5_0'); |
94 |
+- |
95 |
+-1; |
96 |
+diff --git a/t/version_from_file_perl.t b/t/version_from_file_perl.t |
97 |
+index 286930a..c85d6f7 100644 |
98 |
+--- a/t/version_from_file_perl.t |
99 |
++++ b/t/version_from_file_perl.t |
100 |
+@@ -12,7 +12,7 @@ ok($proj); |
101 |
+ |
102 |
+ my $basedir = catfile(qw(t data Perl)); |
103 |
+ |
104 |
+-for my $filenum ( 1 .. 7 ) { |
105 |
++for my $filenum ( 1 .. 3, 5 .. 7 ) { |
106 |
+ my $origfile = catfile( $basedir, sprintf( '%02d.pm', $filenum ) ); |
107 |
+ |
108 |
+ # check we read in the version correctly |
109 |
+@@ -33,7 +33,7 @@ for my $filenum ( 1 .. 7 ) { |
110 |
+ # cleanup |
111 |
+ END { |
112 |
+ eval { |
113 |
+- for ( 1 .. 7 ) |
114 |
++ for ( 1 .. 3, 5 .. 7 ) |
115 |
+ { |
116 |
+ unlink catfile( $basedir, sprintf( '%02d.pm.new', $_ ) ); |
117 |
+ } |
118 |
+-- |
119 |
+2.15.1 |
120 |
+ |
121 |
|
122 |
diff --git a/dev-perl/ShipIt/metadata.xml b/dev-perl/ShipIt/metadata.xml |
123 |
index 8b51f807fde..1ab717495de 100644 |
124 |
--- a/dev-perl/ShipIt/metadata.xml |
125 |
+++ b/dev-perl/ShipIt/metadata.xml |
126 |
@@ -33,6 +33,5 @@ |
127 |
<remote-id type="cpan-module">ShipIt::VC::Mercurial</remote-id> |
128 |
<remote-id type="cpan-module">ShipIt::VC::SVK</remote-id> |
129 |
<remote-id type="cpan-module">ShipIt::VC::SVN</remote-id> |
130 |
- <remote-id type="cpan-module">__ShipIt_Temp_Package</remote-id> |
131 |
</upstream> |
132 |
</pkgmetadata> |