[lintian] 01/01: Don't warn about django-package-does-not-depend-on-django for -doc packages, etc.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit bb7ebc2bf40cf146c4750c762b1c155fb580559f
Author: Chris Lamb <lamby@debian.org>
Date: Tue Jan 2 10:52:58 2018 +0000
Don't warn about django-package-does-not-depend-on-django for -doc packages, etc.
---
checks/python.pm | 2 +-
debian/changelog | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/checks/python.pm b/checks/python.pm
index a8e9c5f..dc64bbd 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -116,7 +116,7 @@ sub _run_binary {
foreach my $regex (keys %DJANGO_PACKAGES) {
my $basepkg = $DJANGO_PACKAGES{$regex};
next if $pkg !~ /$regex/;
- next if $pkg =~ /^python3?-django$/;
+ next if any { $pkg =~ /$_/ } @IGNORE;
tag 'django-package-does-not-depend-on-django', $basepkg
if not $info->relation('strong')->implies($basepkg);
}
diff --git a/debian/changelog b/debian/changelog
index 10fa7ce..bd452c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ lintian (2.5.68) UNRELEASED; urgency=medium
* checks/debconf.pm:
+ [CL] Don't warn about unknown template type "entropy" when a package
depends on cdebconf. (Closes: #677870)
+ * checks/python.pm:
+ + [CL] Don't warn about django-package-does-not-depend-on-django for
+ -doc packages, etc.
* data/files/fnames:
+ [CL] Warn about packages that ship (non-reproducible) Python
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: