[libmodule-depends-perl] 01/03: Patch the test suite to escape braces in a regexp, fixing deprecation warnings

Niko Tyni ntyni at moszumanska.debian.org
Sat Sep 17 13:42:55 UTC 2016


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

ntyni pushed a commit to branch master
in repository libmodule-depends-perl.

commit f51c3d85195fe1c0e9912aafce9170a362d4d767
Author: Niko Tyni <ntyni at debian.org>
Date:   Sat Sep 17 16:25:26 2016 +0300

    Patch the test suite to escape braces in a regexp, fixing deprecation warnings
    
    Closes: #826484
---
 ...es-in-a-regexp-fixing-deprecation-warning.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/0001-Escape-braces-in-a-regexp-fixing-deprecation-warning.patch b/debian/patches/0001-Escape-braces-in-a-regexp-fixing-deprecation-warning.patch
new file mode 100644
index 0000000..98d633c
--- /dev/null
+++ b/debian/patches/0001-Escape-braces-in-a-regexp-fixing-deprecation-warning.patch
@@ -0,0 +1,24 @@
+From e1bd8244867ec64a60b5d5a9c3e492f614168cb7 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sat, 17 Sep 2016 16:25:26 +0300
+Subject: [PATCH] Escape braces in a regexp, fixing deprecation warnings
+
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=115053
+Bug-Debian: https://bugs.debian.org/826484
+---
+ t/depends.t | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/t/depends.t b/t/depends.t
+index 423df2d..32fb019 100644
+--- a/t/depends.t
++++ b/t/depends.t
+@@ -44,7 +44,7 @@ like(
+ $notthere->dist_dir('t/empty')->find_modules;
+ like(
+     $notthere->error,
+-    qr{^No {Build,Makefile}.PL found },
++    qr{^No \{Build,Makefile\}.PL found },
+     "fails on empty dir"
+ );
+ 
diff --git a/debian/patches/series b/debian/patches/series
index a110893..4db641f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 cpan_meta.patch
 set-environment-variables.patch
+0001-Escape-braces-in-a-regexp-fixing-deprecation-warning.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-depends-perl.git



More information about the Pkg-perl-cvs-commits mailing list