[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Drop parens in depends-on-package-from-other-python-variant output.



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit c9222a1e674457a19d79c369d8712dd51dbba6ba
Author: Chris Lamb <lamby@debian.org>
Date:   Fri Dec 29 10:50:11 2017 +0000

     Drop parens in depends-on-package-from-other-python-variant output.
---
 checks/python.pm | 2 +-
 debian/changelog | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/checks/python.pm b/checks/python.pm
index 17dd281..4ca92b3 100644
--- a/checks/python.pm
+++ b/checks/python.pm
@@ -127,7 +127,7 @@ sub _run_binary {
                     return if m/-(docs?|common|tools)$/;
                     #<<< No tidy (tag name too long)
                     tag 'python-package-depends-on-package-from-other-python-variant',
-                        "($field: $_)" if m/^$prefix-/;
+                        "$field: $_" if m/^$prefix-/;
                     #>>>
                 };
                 $info->relation($field)->visit($visit, VISIT_PRED_NAME);
diff --git a/debian/changelog b/debian/changelog
index 087afdb..4a7c394 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ lintian (2.5.67) UNRELEASED; urgency=medium
       dependencies *from* packages with such names.  (Closes: #885693)
     + [CL] Also ignore -docs, -common, -tools packages for intra-Python
       variant dependency checking, python-foo-but-no-python3-foo, etc.
+    + [CL] Drop parens in depends-on-package-from-other-python-variant
+      output.
   * checks/rules.{desc.pm}:
     + [CL] Suggest using /usr/share/dpkg/architecture.mk as a solution to
       debian-rules-sets-dpkg-architecture-variable rather than simply

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: