[med-svn] [grinder] 01/05: Add patch to add back '.' to @INC in some places.

gregor herrmann gregoa at debian.org
Wed Dec 13 17:13:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository grinder.

commit 51a7e9459af0e9a7704003515d31bda2d0b08965
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Dec 13 18:04:52 2017 +0100

    Add patch to add back '.' to @INC in some places.
    
    Closes: #871727
---
 debian/patches/dot-in-inc.patch | 347 ++++++++++++++++++++++++++++++++++++++++
 debian/patches/series           |   1 +
 2 files changed, 348 insertions(+)

diff --git a/debian/patches/dot-in-inc.patch b/debian/patches/dot-in-inc.patch
new file mode 100644
index 0000000..457409c
--- /dev/null
+++ b/debian/patches/dot-in-inc.patch
@@ -0,0 +1,347 @@
+Description: '.' was removed from @INC in Perl
+ Cf. http://perldoc.perl.org/perldelta.html#Removal-of-the-current-directory-(%22.%22)-from-%40INC
+ Add it back where it's needed, i.e. in Makefile.PL (for Module::Install)
+ and in the tests (for the test library).
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/871727
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-12-13
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ 
+ 
+--- a/t/01-shotgun.t
++++ b/t/01-shotgun.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ 
+ 
+--- a/t/02-mates.t
++++ b/t/02-mates.t
+@@ -4,6 +4,7 @@
+ use warnings;
+ use Test::More;
+ use Test::Warn;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/03-amplicon.t
++++ b/t/03-amplicon.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/04-abundances.t
++++ b/t/04-abundances.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/05-forbidden.t
++++ b/t/05-forbidden.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/06-seed.t
++++ b/t/06-seed.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/07-diversity.t
++++ b/t/07-diversity.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/08-shared.t
++++ b/t/08-shared.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/09-permuted.t
++++ b/t/09-permuted.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/10-quality.t
++++ b/t/10-quality.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/11-tracking.t
++++ b/t/11-tracking.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/12-read-length.t
++++ b/t/12-read-length.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/13-insert-length.t
++++ b/t/13-insert-length.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/14-genome-length-bias.t
++++ b/t/14-genome-length-bias.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/15-multiplex.t
++++ b/t/15-multiplex.t
+@@ -4,6 +4,7 @@
+ use warnings;
+ use Test::More;
+ use Test::Warn;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/16-profile.t
++++ b/t/16-profile.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/17-libraries.t
++++ b/t/17-libraries.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/18-amplicon-multiple.t
++++ b/t/18-amplicon-multiple.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/19-gene-copy-bias.t
++++ b/t/19-gene-copy-bias.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/20-community-structure.t
++++ b/t/20-community-structure.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/21-errors.t
++++ b/t/21-errors.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/22-homopolymers.t
++++ b/t/22-homopolymers.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/23-chimeras.t
++++ b/t/23-chimeras.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/24-mate-orientation.t
++++ b/t/24-mate-orientation.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/25-molecule-type.t
++++ b/t/25-molecule-type.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/26-combined-errors.t
++++ b/t/26-combined-errors.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/27-stdin.t
++++ b/t/27-stdin.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/28-revcom-amplicon.t
++++ b/t/28-revcom-amplicon.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/29-kmer-collection.t
++++ b/t/29-kmer-collection.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Bio::PrimarySeq;
+ 
+--- a/t/30-kmer-chimeras.t
++++ b/t/30-kmer-chimeras.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/31-shotgun-chimeras.t
++++ b/t/31-shotgun-chimeras.t
+@@ -3,6 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
++use lib '.';
+ use t::TestUtils;
+ use Grinder;
+ 
+--- a/t/32-database.t
++++ b/t/32-database.t
+@@ -2,6 +2,7 @@
+ 
+ use strict;
+ use warnings;
++use lib '.';
+ use t::TestUtils;
+ use Test::More;
+ use_ok 'Grinder::Database';
+--- a/t/00-load.t
++++ b/t/00-load.t
+@@ -9,6 +9,7 @@
+    use_ok('Grinder');
+    use_ok('Grinder::KmerCollection');
+    use_ok('Grinder::Database');
++   use lib '.';
+    use_ok('t::TestUtils');
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0621ea0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dot-in-inc.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/grinder.git



More information about the debian-med-commit mailing list