[lintian] 01/02: Don't count python-django and python3-django as "Django modules" as they are Django itself. This avoids a warning where python-django triggers "django-package-does-not-depend-on-django".
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 1c3e83d5ae9c9e9c8847b957c9c214057ea2a77a
Author: Chris Lamb <lamby@debian.org>
Date: Wed Nov 1 11:40:49 2017 +0100
Don't count python-django and python3-django as "Django modules" as they are Django itself. This avoids a warning where python-django triggers "django-package-does-not-depend-on-django".
---
checks/python.pm | 3 ++-
debian/changelog | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/checks/python.pm b/checks/python.pm
index 1b446a3..b4d16af 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -89,7 +89,8 @@ sub _run_binary {
}
# Django modules
- if ($pkg =~ /^(python[23]?-django)-.*(?<!-doc)$/) {
+ if ( $pkg =~ /^(python[23]?-django)-.*(?<!-doc)$/
+ and $pkg !~ /^python3?-django$/) {
my $version = $1;
tag 'django-package-does-not-depend-on-django', $version
if not $info->relation('strong')->implies($version);
diff --git a/debian/changelog b/debian/changelog
index fa11f2b..f34c512 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ lintian (2.5.58) UNRELEASED; urgency=medium
+ [SL] Update of the documentation for the change introduced in 2.5.53:
Transitional packages should now be "oldlibs/optional" rather
than "oldlibs/extra".
+ * checks/python.pm
+ + [CL] Don't count python-django and python3-django as "Django modules"
+ as they are Django itself. This avoids a warning where python-django
+ triggers "django-package-does-not-depend-on-django".
-- Chris Lamb <lamby@debian.org> Sun, 29 Oct 2017 12:17:12 +0000
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: