Bug#582763: [checks/scripts] [PATH] improve description of python-script-but-no-python-dep
Package: lintian
Version: 2.4.1
Severity: wishlist
Tags: patch
The following patch suggests adding ${python:Depends} for debhelper packages.
Also one extra EOL space was removed from the tag description.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-9 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.7.1 Debian package development tools
ii file 5.04-2 Determines file type using "magic"
ii gettext 0.17-11 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii locales 2.10.2-6 Embedded GNU C Library: National L
ii man-db 2.5.7-3 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-12 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.7-3 on-line manual pager
-- no debconf information
>From 79d657fed13d7115a2d589b46a5e0b0ab5e7825b Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Sun, 23 May 2010 15:46:43 +0300
Subject: [PATCH] checks/scripts.desc: Add debhelper info to python-script-but-no-python-dep
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
checks/scripts.desc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/checks/scripts.desc b/checks/scripts.desc
index 28d4bed..48ee1cb 100644
--- a/checks/scripts.desc
+++ b/checks/scripts.desc
@@ -247,13 +247,15 @@ Severity: important
Certainty: certain
Info: Packages with Python scripts must depend on the package python.
Those that have scripts executed with a versioned python package need a
- dependency on the equivalent version of python.
+ dependency on the equivalent version of python.
.
For example, if a script in the package uses <tt>#!/usr/bin/python</tt>,
the package needs a dependency on "python". If a script uses
<tt>#!/usr/bin/python2.5</tt>, the package need a dependency on
"python2.5".
.
+ For debhelper packages, add "${python:Depends}" to "Depends:" field.
+ .
In some cases a weaker relationship, such as Suggests or Recommends, will
be more appropriate.
--
1.7.0
Reply to: