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

lintian: r677 - in trunk: checks debian



Author: rra
Date: 2006-06-03 18:24:00 +0200 (Sat, 03 Jun 2006)
New Revision: 677

Modified:
   trunk/checks/fields
   trunk/debian/changelog
Log:
  + [RA] CDBS packages that use the python-distutils class should list
    Python in Build-Depends, not Build-Depends-Indep, since CDBS wants
    to use it in debian/rules clean.  Thanks, Jan L?\195?\188bbe.

Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2006-05-20 22:38:48 UTC (rev 676)
+++ trunk/checks/fields	2006-06-03 16:24:00 UTC (rev 677)
@@ -30,6 +30,11 @@
 use Tags;
 use Util;
 
+# 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';
+
 # Certain build tools must be listed in Build-Depends even if there are no
 # arch-specific packages because they're required in order to run the clean
 # rule.  (See Policy 7.6.)  The following is a list of package dependencies;
@@ -44,7 +49,8 @@
 	[ dpatch => '^include\s+/usr/share/cdbs/1/rules/dpatch.mk' ],
 	[ quilt => '^include\s+/usr/share/cdbs/1/rules/patchsys-quilt.mk' ],
 	[ dpatch => '^include\s+/usr/share/dpatch/' ],
-	[ 'quilt (>= 0.40)' => '^include\s+/usr/share/quilt/' ]
+	[ 'quilt (>= 0.40)' => '^include\s+/usr/share/quilt/' ],
+	[ $python_depend => '/usr/share/cdbs/1/class/python-distutils.mk' ],
 );
 
 # These are similar, but the resulting dependency is only allowed, not
@@ -59,16 +65,10 @@
 	[ quilt => '^clean:\s+xsfclean\b' ],
 );
 
-# 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_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/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-05-20 22:38:48 UTC (rev 676)
+++ trunk/debian/changelog	2006-06-03 16:24:00 UTC (rev 677)
@@ -6,11 +6,14 @@
   * checks/fields:
     + [RA] Allow build-depend on quilt if clean depends on the xsfclean
       rule, for packages maintained by the X Strike Force.
+    + [RA] CDBS packages that use the python-distutils class should list
+      Python in Build-Depends, not Build-Depends-Indep, since CDBS wants
+      to use it in debian/rules clean.  Thanks, Jan Lübbe.
   * checks/po-debconf:
     + [RA] Don't consider templates.in to be a stray translated template
       file.  Thanks, Thomas Huriaux.  (Closes: #367534)
 
- -- Russ Allbery <rra@debian.org>  Sat, 20 May 2006 15:33:00 -0700
+ -- Russ Allbery <rra@debian.org>  Sat,  3 Jun 2006 09:11:34 -0700
 
 lintian (1.23.21) unstable; urgency=low
 



Reply to: