[lintian] 02/03: checks/python.pm: Don't emit "python-package-missing-depends-on-python" for debug packages
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 3bf3ca7e1bbbb3dc8fcb4fb44f2f8c8cfb0c6699
Author: Chris Lamb <lamby@debian.org>
Date: Sat Jan 20 17:00:50 2018 +1100
checks/python.pm: Don't emit "python-package-missing-depends-on-python" for debug packages
---
checks/python.pm | 16 +++++++++-------
debian/changelog | 3 +++
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/checks/python.pm b/checks/python.pm
index 6756600..f24152f 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -110,13 +110,15 @@ sub _run_binary {
my @entries = $info->changelog ? $info->changelog->data : ();
# Check for missing dependencies
- foreach my $file ($info->sorted_index) {
- if ( $file->is_file
- and $file
- =~ m,usr/lib/(?<version>python[23])[\d.]*/(?:site|dist)-packages,
- and not $deps->implies($REQUIRED_DEPENDS{$+{version}})) {
- tag 'python-package-missing-depends-on-python';
- last;
+ if ($pkg !~ /-dbg$/) {
+ foreach my $file ($info->sorted_index) {
+ if ( $file->is_file
+ and $file
+ =~ m,usr/lib/(?<version>python[23])[\d.]*/(?:site|dist)-packages,
+ and not $deps->implies($REQUIRED_DEPENDS{$+{version}})) {
+ tag 'python-package-missing-depends-on-python';
+ last;
+ }
}
}
diff --git a/debian/changelog b/debian/changelog
index d21f932..565367b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ lintian (2.5.71) UNRELEASED; urgency=medium
* checks/files.pm:
+ [CL] Ignore Rust .rs files in extra-license-file. (Closes: #887715)
+ * checks/python.pm:
+ + [CL] Don't emit "python-package-missing-depends-on-python" for debug
+ packages
* data/rules/rules-should-not-use:
+ [CL] Add more context to xz-compression-level-too-high tag output.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: