[lintian] 01/01: data/common/dbg-pkg: Identify both python-foo-dbg and python3-foo-dbg as known debug packages to avoid a false-positive for the former when checking for debian-control-has-obsolete-dbg-package. (Closes: #886271)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit e00d72353243e0ed77bc4d25d45fc8fbd635a99d
Author: Chris Lamb <lamby@debian.org>
Date: Wed Jan 3 17:12:19 2018 +0000
data/common/dbg-pkg: Identify both python-foo-dbg and python3-foo-dbg as known debug packages to avoid a false-positive for the former when checking for debian-control-has-obsolete-dbg-package. (Closes: #886271)
---
data/common/dbg-pkg | 2 +-
debian/changelog | 4 ++++
.../files-python-general/debian/debian/control.in | 22 ++++++++++++++++++++++
t/tests/files-python-general/desc | 2 ++
t/tests/files-python-general/tags | 1 -
5 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/data/common/dbg-pkg b/data/common/dbg-pkg
index 9c915f0..d046229 100644
--- a/data/common/dbg-pkg
+++ b/data/common/dbg-pkg
@@ -1,4 +1,4 @@
# gcc and valgring need glibc package
^libc\d+-dbg$
# python module build against python debug
-^python\d+-.*-dbg$
+^python\d*-.*-dbg$
diff --git a/debian/changelog b/debian/changelog
index 6fb354d..6aa540f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,10 @@ lintian (2.5.68) UNRELEASED; urgency=medium
+ [CL] Downgrade severity of out-of-date-standards-version from normal
("W:") to wishlist ("I:"). (Closes: #886210)
+ * data/common/dbg-pkg:
+ + [CL] Identify both python-foo-dbg and python3-foo-dbg as known debug
+ packages to avoid a false-positive for the former when checking for
+ debian-control-has-obsolete-dbg-package. (Closes: #886271)
* data/files/fnames:
+ [CL] Warn about packages that ship (non-reproducible) Python
Hypothesis examples. (Closes: #886101)
diff --git a/t/tests/files-python-general/debian/debian/control.in b/t/tests/files-python-general/debian/debian/control.in
index b0a0ffe..bebe5a8 100644
--- a/t/tests/files-python-general/debian/debian/control.in
+++ b/t/tests/files-python-general/debian/debian/control.in
@@ -28,4 +28,26 @@ Description: {$description} - debug
.
This is a fake debug package.
+Package: python3-modulename
+Architecture: any
+Depends: $\{misc:Depends\}, $\{shlibs:Depends\}
+Description: {$description} (Python 3.x)
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package. It may
+ be an empty package.
+ .
+ Python 3.x version.
+Package: python3-modulename-dbg
+Architecture: any
+Section: debug
+Depends: $\{misc:Depends\}, python3-modulename (= $\{binary:Version\}),
+ $\{shlibs:Depends\}
+Description: {$description} - debug (Python 3.x) version
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package. It may
+ be an empty package.
+ .
+ This is a fake Python 3.x debug package.
diff --git a/t/tests/files-python-general/desc b/t/tests/files-python-general/desc
index a3788b8..18fb957 100644
--- a/t/tests/files-python-general/desc
+++ b/t/tests/files-python-general/desc
@@ -8,3 +8,5 @@ Test-For:
package-installs-python-egg
package-installs-python-pycache-dir
python-debug-in-wrong-location
+Test-Against:
+ debian-control-has-obsolete-dbg-package
diff --git a/t/tests/files-python-general/tags b/t/tests/files-python-general/tags
index 460213b..233fc0a 100644
--- a/t/tests/files-python-general/tags
+++ b/t/tests/files-python-general/tags
@@ -2,7 +2,6 @@ E: python-kinterbasdb: package-installs-python-bytecode usr/share/python-kinterb
E: python-kinterbasdb: package-installs-python-bytecode usr/share/python-kinterbasdb/code.pyo
E: python-kinterbasdb: package-installs-python-egg usr/share/python-kinterbasdb/python.egg
E: python-kinterbasdb: package-installs-python-pycache-dir usr/share/python-kinterbasdb/__pycache__/
-I: files-python-general source: debian-control-has-obsolete-dbg-package python-kinterbasdb-dbg
W: files-python-general source: package-uses-deprecated-debhelper-compat-version 7
W: files-python-general source: python-foo-but-no-python3-foo python-kinterbasdb
W: files-python-general source: python-foo-but-no-python3-foo python-kinterbasdb-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: