dev-perl/Plack: Patch tests to avoid parallel-testing race-condition.
authorKent Fredric <kentfredric@gmail.com>
Wed, 4 May 2016 08:13:15 +0000 (20:13 +1200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 6 May 2016 22:30:09 +0000 (00:30 +0200)
This is already fixed upstream in git, so the patch is attached verbatim
until upstream get around to pushing a new release.

Package-Manager: portage-2.2.28
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/Plack/Plack-1.3.900.ebuild
dev-perl/Plack/files/Plack-1.3.900-issue-545.patch [new file with mode: 0644]

index 4152bcc50104ece8f6e44dd46c443d6c9e76c5d8..1acafb01193938c84f5606cf35b7cc58239dd423 100644 (file)
@@ -13,7 +13,9 @@ DESCRIPTION="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="test minimal examples"
-
+PATCHES=(
+       "${FILESDIR}/${P}-issue-545.patch"
+)
 RDEPEND="
        !minimal? (
                dev-perl/CGI-Compile
diff --git a/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch b/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch
new file mode 100644 (file)
index 0000000..b4a3fb7
--- /dev/null
@@ -0,0 +1,22 @@
+From 86256c2af6115a2c99c310ba6979bf40f72a6864 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Richard=20Sim=C3=B5es?= <rsimoes@gmail.com>
+Date: Sun, 3 Jan 2016 19:49:51 -0600
+Subject: [PATCH] Allow log4perl.t and log4perl-category.t to run in parallel
+
+---
+ t/Plack-Middleware/log4perl-category.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/Plack-Middleware/log4perl-category.t b/t/Plack-Middleware/log4perl-category.t
+index 1951015..946edbf 100644
+--- a/t/Plack-Middleware/log4perl-category.t
++++ b/t/Plack-Middleware/log4perl-category.t
+@@ -6,7 +6,7 @@ use Test::More;
+ use Plack::Middleware::Log4perl;
+ use HTTP::Request::Common;
+-my $test_file = "t/Plack-Middleware/log4perl.log";
++my $test_file = "t/Plack-Middleware/log4perl-category.log";
+ my $conf = <<CONF;
+ log4perl.logger.0 = INFO, Logfile