lintian: r868 - in trunk: checks debian testset
Author: rra
Date: 2007-04-28 06:48:04 +0200 (Sat, 28 Apr 2007)
New Revision: 868
Modified:
trunk/checks/debhelper
trunk/checks/debhelper.desc
trunk/debian/changelog
trunk/testset/tags.cdbs-test
trunk/testset/tags.debconf
Log:
* checks/debhelper{.desc,}:
+ [RA] Downgrade the dependency check for dh_python and the Python
policy to info since all debhelpers back to stable support it.
+ [RA] Downgrade the dependency check for compatibility level V5 to
info since all debhelpers back to stable support it.
Modified: trunk/checks/debhelper
===================================================================
--- trunk/checks/debhelper 2007-04-28 04:38:17 UTC (rev 867)
+++ trunk/checks/debhelper 2007-04-28 04:48:04 UTC (rev 868)
@@ -162,7 +162,8 @@
close IN;
if ((! $seentag) and $needtomodifyscripts) {
- tag "maintainer-script-lacks-debhelper-token", "debian/$file" unless $binpkg && $pkgs{$binpkg} && ($pkgs{$binpkg} =~ /udeb/i);
+ tag "maintainer-script-lacks-debhelper-token", "debian/$file"
+ unless $binpkg && $pkgs{$binpkg} && ($pkgs{$binpkg} =~ /udeb/i);
}
} elsif ($file =~ m/^compat$/) {
open IN, "debfiles/$file"
Modified: trunk/checks/debhelper.desc
===================================================================
--- trunk/checks/debhelper.desc 2007-04-28 04:38:17 UTC (rev 867)
+++ trunk/checks/debhelper.desc 2007-04-28 04:48:04 UTC (rev 868)
@@ -21,11 +21,15 @@
on debhelper.
Tag: package-lacks-versioned-build-depends-on-debhelper
-Type: error
-Info: If a package sets debhelper's compatibility version to >= 1,
+Type: info
+Info: If a package sets debhelper's compatibility version to >= 5,
either via DH_COMPAT, or via debian/compat, or via dh_testversion
- (which is deprecated), it must declare a versioned Build-Depends on
+ (which is deprecated), it should declare a versioned Build-Depends on
the needed version of debhelper.
+ .
+ All versions of debhelper back to etch support compatibility version 5,
+ but the debhelper released with sarge did not, so this dependency is
+ still helpful for oldstable backports.
Tag: dh-make-template-in-source
Type: warning
@@ -85,11 +89,15 @@
defaults to the deprecated compatibility version 1.
Tag: package-needs-python-policy-debhelper
-Type: error
+Type: info
Info: The source package requests dh_python compatibility level 2 (or
higher) in <tt>debian/pycompat</tt> but doesn't depend on a new enough
debhelper. A Build-Depends on debhelper (>= 5.0.37.2) is required for
this support.
+ .
+ All versions of debhelper back to etch support this, but the debhelper
+ released with sarge did not, so this dependency is still helpful for
+ oldstable backports.
Tag: uses-dh-python-with-no-pycompat
Type: warning
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-04-28 04:38:17 UTC (rev 867)
+++ trunk/debian/changelog 2007-04-28 04:48:04 UTC (rev 868)
@@ -15,6 +15,11 @@
implementations back to oldstable support it.
+ [RA] Reduce the dependency check for error templates to info since
all debconf implementations back to stable support it.
+ * checks/debhelper{.desc,}:
+ + [RA] Downgrade the dependency check for dh_python and the Python
+ policy to info since all debhelpers back to stable support it.
+ + [RA] Downgrade the dependency check for compatibility level V5 to
+ info since all debhelpers back to stable support it.
* checks/fields:
+ [RA] The CDBS Python rules only call pycentral or pysupport during
the binary targets, so those dependencies can be safely moved to
Modified: trunk/testset/tags.cdbs-test
===================================================================
--- trunk/testset/tags.cdbs-test 2007-04-28 04:38:17 UTC (rev 867)
+++ trunk/testset/tags.cdbs-test 2007-04-28 04:48:04 UTC (rev 868)
@@ -1,6 +1,6 @@
E: cdbs-test source: clean-should-be-satisfied-by-build-depends debhelper
E: cdbs-test source: missing-build-dependency python | python-dev | python-all-dev
-E: cdbs-test source: package-lacks-versioned-build-depends-on-debhelper 5
I: cdbs-test source: build-depends-without-arch-dep yada
+I: cdbs-test source: package-lacks-versioned-build-depends-on-debhelper 5
W: cdbs-test source: native-package-with-dash-version
W: cdbs-test source: package-has-a-duplicate-build-relation cdbs, cdbs
Modified: trunk/testset/tags.debconf
===================================================================
--- trunk/testset/tags.debconf 2007-04-28 04:38:17 UTC (rev 867)
+++ trunk/testset/tags.debconf 2007-04-28 04:48:04 UTC (rev 868)
@@ -1,6 +1,5 @@
E: debconf source: declares-possibly-conflicting-debhelper-compat-versions rules=4 compat=4
E: debconf source: missing-dh_python-build-dependency python | python-dev | python-all-dev
-E: debconf source: package-needs-python-policy-debhelper
E: debconf-test: extended-description-is-empty
E: debconf-test: mismatch-translated-choices debconf/testmulti-escape choices-de.utf-8
E: debconf-test: no-template-description debconf/no-description
@@ -8,6 +7,7 @@
E: debconf-test: unknown-debconf-priority config:10 LOW
E: debconf-test: unknown-debconf-priority config:11 normal
E: debconf-udeb udeb: udeb-postinst-must-not-call-ldconfig
+I: debconf source: package-needs-python-policy-debhelper
I: debconf-test: debconf-error-requires-versioned-depends debconf/error
W: debconf source: debian-rules-sets-DH_COMPAT line 3
W: debconf source: invalid-po-file debian/po/fr.po
Reply to: