summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-01-09 07:34:35 +1300
committerKent Fredric <kentnl@gentoo.org>2018-01-09 07:34:51 +1300
commitcb9d5dce67e0539e09e281382905e0647d18e098 (patch)
tree31b5a615a1e869beb104e7f01683f17c463401c4 /dev-perl/ShipIt/files
parentapp-arch/brotli-1.0.2-r0: alpha stable (diff)
downloadgentoo-cb9d5dce67e0539e09e281382905e0647d18e098.tar.gz
gentoo-cb9d5dce67e0539e09e281382905e0647d18e098.tar.bz2
gentoo-cb9d5dce67e0539e09e281382905e0647d18e098.zip
dev-perl/ShipIt: Fix test failures re bug #623102
- EAPI6 - Fix test failures - Remove bogus CPAN remote-id Bug: https://bugs.gentoo.org/623102 Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'dev-perl/ShipIt/files')
-rw-r--r--dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch b/dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch
new file mode 100644
index 000000000000..e4efb4937f7e
--- /dev/null
+++ b/dev-perl/ShipIt/files/ShipIt-0.60-version-test.patch
@@ -0,0 +1,65 @@
+From 7d72ab2c8127e6728b60ffdc63af50e522366428 Mon Sep 17 00:00:00 2001
+From: Shohei YOSHIDA <shohei.yoshida@dena.com>
+Date: Thu, 19 Jan 2017 14:58:10 +0900
+Subject: Remove alpha version test
+
+version.pm changed alpha version specification so that its test
+makes no sense with latest version.pm
+
+Bug: https://bugs.gentoo.org/623102
+Bug: https://rt.cpan.org/Ticket/Display.html?id=112501
+---
+ MANIFEST | 1 -
+ t/data/Perl/04.pm | 5 -----
+ t/version_from_file_perl.t | 4 ++--
+ 3 files changed, 2 insertions(+), 8 deletions(-)
+ delete mode 100644 t/data/Perl/04.pm
+
+diff --git a/MANIFEST b/MANIFEST
+index b9b3cc1..a13981a 100644
+--- a/MANIFEST
++++ b/MANIFEST
+@@ -34,7 +34,6 @@ shipit
+ t/data/Perl/01.pm
+ t/data/Perl/02.pm
+ t/data/Perl/03.pm
+-t/data/Perl/04.pm
+ t/data/Perl/05.pm
+ t/data/Perl/06.pm
+ t/data/Perl/07.pm
+diff --git a/t/data/Perl/04.pm b/t/data/Perl/04.pm
+deleted file mode 100644
+index 1744dd1..0000000
+--- a/t/data/Perl/04.pm
++++ /dev/null
+@@ -1,5 +0,0 @@
+-package something;
+-
+-use version; our $VERSION = qv('v1.5_0');
+-
+-1;
+diff --git a/t/version_from_file_perl.t b/t/version_from_file_perl.t
+index 286930a..c85d6f7 100644
+--- a/t/version_from_file_perl.t
++++ b/t/version_from_file_perl.t
+@@ -12,7 +12,7 @@ ok($proj);
+
+ my $basedir = catfile(qw(t data Perl));
+
+-for my $filenum ( 1 .. 7 ) {
++for my $filenum ( 1 .. 3, 5 .. 7 ) {
+ my $origfile = catfile( $basedir, sprintf( '%02d.pm', $filenum ) );
+
+ # check we read in the version correctly
+@@ -33,7 +33,7 @@ for my $filenum ( 1 .. 7 ) {
+ # cleanup
+ END {
+ eval {
+- for ( 1 .. 7 )
++ for ( 1 .. 3, 5 .. 7 )
+ {
+ unlink catfile( $basedir, sprintf( '%02d.pm.new', $_ ) );
+ }
+--
+2.15.1
+