public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/List-UtilsBy/, dev-perl/List-UtilsBy/files/
@ 2017-10-27  1:42 Kent Fredric
  0 siblings, 0 replies; only message in thread
From: Kent Fredric @ 2017-10-27  1:42 UTC (permalink / raw
  To: gentoo-commits

commit:     59b41fd1867fa2bef54f1683de702bbe94dfcfe4
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 01:41:51 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 01:42:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b41fd1

dev-perl/List-UtilsBy: Fix test failures without '.' in @INC bug #615096

Closes: https://bugs.gentoo.org/615096
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/List-UtilsBy/List-UtilsBy-0.100.0.ebuild  |  2 +-
 .../files/List-UtilsBy-0.100.0-no-dot-inc.patch    | 27 ++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/dev-perl/List-UtilsBy/List-UtilsBy-0.100.0.ebuild b/dev-perl/List-UtilsBy/List-UtilsBy-0.100.0.ebuild
index 5026eba8331..229589cd078 100644
--- a/dev-perl/List-UtilsBy/List-UtilsBy-0.100.0.ebuild
+++ b/dev-perl/List-UtilsBy/List-UtilsBy-0.100.0.ebuild
@@ -17,7 +17,7 @@ DEPEND="
 	>=dev-perl/Module-Build-0.380.0
 	test? ( virtual/perl-Test-Simple )
 "
-
+PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")
 SRC_TEST=do
 
 src_test() {

diff --git a/dev-perl/List-UtilsBy/files/List-UtilsBy-0.100.0-no-dot-inc.patch b/dev-perl/List-UtilsBy/files/List-UtilsBy-0.100.0-no-dot-inc.patch
new file mode 100644
index 00000000000..1ca063f24ef
--- /dev/null
+++ b/dev-perl/List-UtilsBy/files/List-UtilsBy-0.100.0-no-dot-inc.patch
@@ -0,0 +1,27 @@
+From a7ce31efae156a93136b07136aead3e44b7d4b6c Mon Sep 17 00:00:00 2001
+From: Paul Evans <leonerd-cpan@leonerd.org.uk>
+Date: Mon, 27 Feb 2017 11:05:41 +0000
+Subject: Fix test failures without '.' in @INC
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=120418
+Bug: https://bugs.gentoo.org/615096
+---
+ t/11weighted_shuffle_by.t | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/t/11weighted_shuffle_by.t b/t/11weighted_shuffle_by.t
+index 68da739..0d41639 100644
+--- a/t/11weighted_shuffle_by.t
++++ b/t/11weighted_shuffle_by.t
+@@ -4,6 +4,8 @@ use strict;
+ use warnings;
+ 
+ use Test::More;
++
++use lib ".";
+ use t::Unrandom;
+ 
+ use List::UtilsBy qw( weighted_shuffle_by );
+-- 
+2.14.3
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-27  1:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27  1:42 [gentoo-commits] repo/gentoo:master commit in: dev-perl/List-UtilsBy/, dev-perl/List-UtilsBy/files/ Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox