This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian.
commit b15edfd8d83895c157dc22122f4b372199ae41c2 Author: Chris Lamb <[email protected]> Date: Wed Dec 6 08:58:17 2017 +0000 t/scripts/spellintian.t: Mention according Debian bug report in comment Gbp-Dch: Ignore --- checks/python.pm | 3 ++- debian/changelog | 5 +++++ t/tests/python-python2-apps/debian/debian/control.in | 11 +++++++++++ t/tests/python-python2-apps/tags | 1 + 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/checks/python.pm b/checks/python.pm index b4d16af..c37ffd5 100644 --- a/checks/python.pm +++ b/checks/python.pm @@ -83,7 +83,8 @@ sub _run_binary { for my $dep (@PYTHON2) { tag 'dependency-on-python-version-marked-for-end-of-life', "($field: $dep)" - if $info->relation($field)->implies($dep); + if $info->relation($field)->implies($dep) + or $info->relation($field)->implies("$dep:any"); } } } diff --git a/debian/changelog b/debian/changelog index ca31d0c..8ff512c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,11 @@ lintian (2.5.62) UNRELEASED; urgency=medium XXX: generate tag summary + * checks/python.desc: + + [CL] Also match, for example, "python2.7:all" when checking the + "dependency-on-python-version-marked-for-end-of-life" tag, not just + "python2.7". (Closes: #883053) + -- Chris Lamb <[email protected]> Tue, 05 Dec 2017 15:27:44 +0000 lintian (2.5.61) unstable; urgency=medium diff --git a/t/tests/python-python2-apps/debian/debian/control.in b/t/tests/python-python2-apps/debian/debian/control.in index 9f4287a..547ba7f 100644 --- a/t/tests/python-python2-apps/debian/debian/control.in +++ b/t/tests/python-python2-apps/debian/debian/control.in @@ -74,3 +74,14 @@ Description: Test package (Python 3) be an empty package. . Python 3 module with Python 3.x in Depends. + +Package: pkg-depends-any +Architecture: all +Depends: $\{misc:Depends\}, python:any +Description: Test package with Python 2.x with :any suffix in Depends + 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. + . + Description: Test package with Python 2.x with :any suffix in Depends. diff --git a/t/tests/python-python2-apps/tags b/t/tests/python-python2-apps/tags index d00494d..a569b7e 100644 --- a/t/tests/python-python2-apps/tags +++ b/t/tests/python-python2-apps/tags @@ -1,3 +1,4 @@ +W: pkg-depends-any: dependency-on-python-version-marked-for-end-of-life (Depends: python) W: pkg-depends: dependency-on-python-version-marked-for-end-of-life (Depends: python) W: pkg-pre-depends: dependency-on-python-version-marked-for-end-of-life (Pre-Depends: python2.7) W: pkg-recommends: dependency-on-python-version-marked-for-end-of-life (Recommends: python-dev) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git

