[lintian] 01/01: Apply patch from Pierre-Elliott Bécue to loosen the changelog parsing of the new-package-should-not-package-python2-module tag to allow "Python 2 variant". (Closes: #895128)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit c1ab5e3dc1778ab1b63a132e065aa8325d8839dc
Author: Chris Lamb <lamby@debian.org>
Date: Sat Apr 7 11:58:23 2018 +0100
Apply patch from Pierre-Elliott Bécue to loosen the changelog parsing of the new-package-should-not-package-python2-module tag to allow "Python 2 variant". (Closes: #895128)
---
checks/python.pm | 2 +-
debian/changelog | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/checks/python.pm b/checks/python.pm
index f24152f..ec671c8 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -127,7 +127,7 @@ sub _run_binary {
and none { $pkg =~ /$_$/ } @IGNORE
and @entries == 1
and $entries[0]->Changes
- !~ /\bpython 2(?:\.x)? (?:variant|version)\b/im
+ !~ /\bpython ?2(?:\.x)? (?:variant|version)\b/im
and index($entries[0]->Changes, $pkg) == -1) {
tag 'new-package-should-not-package-python2-module', $pkg;
}
diff --git a/debian/changelog b/debian/changelog
index d089059..33a7eca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,12 @@ lintian (2.5.82) UNRELEASED; urgency=medium
XXX: generate tag summary
+ * checks/python.pm:
+ + [CL] Apply patch from Pierre-Elliott Bécue to loosen the changelog
+ parsing of the new-package-should-not-package-python2-module tag to
+ allow (for example) "Python 2 variant" as well as "Python2
+ variant". Thanks! (Closes: #895128)
+
-- Chris Lamb <lamby@debian.org> Sat, 07 Apr 2018 10:14:46 +0100
lintian (2.5.81) unstable; urgency=medium
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: