[lintian] 01/01: Package python-foo-doc is documentation, not Python 2
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit dd256afc54cf72cb9f745f9315de8c64a65f267d
Author: Christopher Hoskin <christopher.hoskin@gmail.com>
Date: Wed Feb 15 21:17:53 2017 +0000
Package python-foo-doc is documentation, not Python 2
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/scripts.pm | 2 +-
debian/changelog | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/checks/scripts.pm b/checks/scripts.pm
index c33d7c9..74e1cc4 100644
--- a/checks/scripts.pm
+++ b/checks/scripts.pm
@@ -1117,7 +1117,7 @@ sub run {
if (@entries == 1) {
tag 'new-package-should-not-package-python2-module', $pkg
- if $pkg =~ /^python-/;
+ if $pkg =~ /^python-.*(?<!-doc)$/;
}
return;
diff --git a/debian/changelog b/debian/changelog
index 19bb0e0..cdec516 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,10 @@ lintian (2.5.51) UNRELEASED; urgency=medium
to version 1.1.
+ [NT] Apply patch from Laurent Bigonville to check desktop files
for missing "Icon" field. (Closes: #854132)
+ * checks/scripts.pm:
+ + [NT] Apply patch from Christopher Hoskin to except -doc packages
+ from the "new-package-should-not-package-python2-module" tag.
+ (Closes: #855243)
* checks/testsuite.{desc,pm}:
+ [NT] Apply patch from Lucas Kanashiro to add a tag for recommending
packagers to create an autopkgtest for their package.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: