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

lintian: r639 - in trunk: checks debian testset



Author: rra
Date: 2006-04-27 07:30:51 +0200 (Thu, 27 Apr 2006)
New Revision: 639

Modified:
   trunk/checks/fields
   trunk/checks/fields.desc
   trunk/debian/changelog
   trunk/testset/tags.cdbs-test
   trunk/testset/tags.debconf
Log:
* checks/fields{.desc,}:
  + [RA] python-all-dev also satisfies dh_python's requirements.
    Thanks, Marc Dequenes (Duck).  (Closes: #364943)


Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2006-04-27 05:12:30 UTC (rev 638)
+++ trunk/checks/fields	2006-04-27 05:30:51 UTC (rev 639)
@@ -45,12 +45,17 @@
 	[ 'quilt (>= 0.40)' => '^include\s+/usr/share/quilt/' ]
 );
 
+# The allowed Python dependencies currently.  This is the list of alternatives
+# that, either directly or through transitive dependencies that can be relied
+# upon, ensure /usr/bin/python will exist for the use of dh_python.
+my $python_depend = 'python | python-dev | python-all-dev';
+
 # A list of packages; regular expressions that, if they match anywhere in the
 # debian/rules file, this package must be listed in either Build-Depends or
 # Build-Depends-Indep as appropriate; and optional tags as above.
 my @global_depends = (
-        [ 'python | python-dev' => '/usr/share/cdbs/1/class/python-distutils.mk' ],
-        [ 'python | python-dev' => '^\t\s*dh_python\s', 'missing-dh_python-build-dependency' ],
+        [ $python_depend => '/usr/share/cdbs/1/class/python-distutils.mk' ],
+        [ $python_depend => '^\t\s*dh_python\s', 'missing-dh_python-build-dependency' ],
         [ 'debhelper (>= 5.0.31)' => '^\t\s*dh_installxfonts', 'missing-dh_installxfonts-build-dependency' ],
 );
 

Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc	2006-04-27 05:12:30 UTC (rev 638)
+++ trunk/checks/fields.desc	2006-04-27 05:30:51 UTC (rev 639)
@@ -470,10 +470,10 @@
 Type: error
 Ref: dh_python(1)
 Info: The package runs dh_python in <tt>debian/rules</tt> but doesn't
- build-depend on python or python-dev. dh_python requires Python to run,
- so packages using dh_python must build-depend on python (or python-dev,
- which in turn depends on python), even if they don't otherwise need
- Python to build.
+ build-depend on python or python-dev. dh_python requires
+ <tt>/usr/bin/python</tt> to run, so packages using dh_python must
+ build-depend on python (or python-dev or python-all-dev, which in turn
+ depend on python), even if they don't otherwise need Python to build.
 
 Tag: missing-dh_installxfonts-build-dependency
 Type: error

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-04-27 05:12:30 UTC (rev 638)
+++ trunk/debian/changelog	2006-04-27 05:30:51 UTC (rev 639)
@@ -1,5 +1,8 @@
 lintian (1.23.19) UNRELEASED; urgency=low
 
+  * checks/fields{.desc,}:
+    + [RA] python-all-dev also satisfies dh_python's requirements.
+      Thanks, Marc Dequènes (Duck).  (Closes: #364943)
   * checks/files{.desc,}:
     + [RA] Add the references to Policy for the deprecation of X11R6
       directories now that Policy has been updated in 3.7.0.0.
@@ -17,7 +20,7 @@
     + [RA] Update standards version to 3.7.0 (no changes required).
     + [RA] Update description to note calibration for Policy 3.7.0.
 
- -- Russ Allbery <rra@debian.org>  Wed, 26 Apr 2006 22:11:58 -0700
+ -- Russ Allbery <rra@debian.org>  Wed, 26 Apr 2006 22:30:07 -0700
 
 lintian (1.23.18) unstable; urgency=low
 

Modified: trunk/testset/tags.cdbs-test
===================================================================
--- trunk/testset/tags.cdbs-test	2006-04-27 05:12:30 UTC (rev 638)
+++ trunk/testset/tags.cdbs-test	2006-04-27 05:30:51 UTC (rev 639)
@@ -1,5 +1,5 @@
 E: cdbs-test source: build-depends-indep-should-be-build-depends debhelper
-E: cdbs-test source: missing-build-dependency python | python-dev
+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
 W: cdbs-test source: build-depends-without-arch-dep yada
 W: cdbs-test source: native-package-with-dash-version

Modified: trunk/testset/tags.debconf
===================================================================
--- trunk/testset/tags.debconf	2006-04-27 05:12:30 UTC (rev 638)
+++ trunk/testset/tags.debconf	2006-04-27 05:30:51 UTC (rev 639)
@@ -1,5 +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
+E: debconf source: missing-dh_python-build-dependency python | python-dev | python-all-dev
 E: debconf-test: extended-description-is-empty
 E: debconf-test: mismatch-translated-choices debconf/testmulti choices-de.utf-8
 E: debconf-test: settitle-requires-versioned-depends config



Reply to: