Package: lintian Version: 1.23.21 Severity: wishlist
With the latest changes in python-related packaging, some comme patterns of error are starting to emerge... so let's check them with lintian. 1/ If you detect dh_pysupport or dh_pycentral, you should have a corresponding python-support or python-central build-dependency. (CDBS use a variable DEB_PYTHON_SYSTEM=pysupport/pycentral to select between them so check for that as well) 2/ We should encourage to switch to the new policy, so a warning if we're not using it would be welcome. There's no single way to detect that but the most common way is that packages are using dh_python and have thus a debian/pycompat containing 2. If you detect dh_python and not debian/pycompat then you should issue a warning about the need to move to the new policy. You can refer them to this URL: http://wiki.debian.org/DebianPython/NewPolicy 3/ If one has dh_python and debian/pycompat=2, then it needs to build-depends on at least "debhelper (>= 5.0.37.2)". 4/ arch: all .deb should usually no more have dependencies like "python (<< <something>)" if they use the new policy. That could also be a useful warning indicating that the packages have not been converted. That's a good start IMO. We could add many more test for the python policy itself (and not for its infrastructure), but it's a bit more difficult. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages lintian depends on: ii binutils 2.16.1cvs20060413-1 The GNU assembler, linker and bina ii diffstat 1.41-1 produces graph of changes introduc ii dpkg-dev 1.13.22 package building tools for Debian ii file 4.17-2 Determines file type using "magic" ii gettext 0.14.6-1 GNU Internationalization utilities ii intltool-debian 0.34.2+20060512 Help i18n of RFC822 compliant conf ii libparse-debianchang 1.0-1 parse Debian changelogs and output ii man-db 2.4.3-3 The on-line manual pager ii perl [libdigest-md5- 5.8.8-6 Larry Wall's Practical Extraction lintian recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]