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

lintian: r725 - in trunk: checks debian



Author: rra
Date: 2006-08-20 03:39:21 +0200 (Sun, 20 Aug 2006)
New Revision: 725

Modified:
   trunk/checks/fields
   trunk/debian/changelog
Log:
  + [RA] Check for missing build dependencies on python-central or
    python-support.  Thanks, Rapha?\195?\171l Hertzog.

Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2006-08-20 01:14:01 UTC (rev 724)
+++ trunk/checks/fields	2006-08-20 01:39:21 UTC (rev 725)
@@ -52,6 +52,8 @@
 	[ dpatch => '^include\s+/usr/share/dpatch/' ],
 	[ 'quilt (>= 0.40)' => '^include\s+/usr/share/quilt/' ],
 	[ $python_depend => '/usr/share/cdbs/1/class/python-distutils.mk' ],
+	[ 'python-central (>= 0.5)' => '^DEB_PYTHON_SYSTEM\s*:?=\s*pycentral' ],
+	[ 'python-support (>= 0.3)' => '^DEB_PYTHON_SYSTEM\s*:?=\s*pysupport' ],
 );
 
 # These are similar, but the resulting dependency is only allowed, not
@@ -70,8 +72,10 @@
 # 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 => '^\t\s*dh_python\s', 'missing-dh_python-build-dependency' ],
-        [ 'debhelper (>= 5.0.31)' => '^\t\s*dh_installxfonts', 'missing-dh_installxfonts-build-dependency' ],
+	[ $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' ],
+	[ 'python-central (>= 0.5)' => '^\t\s*dh_pycentral\s' ],
+	[ 'python-support (>= 0.3)' => '^\t\s*dh_pysupport\s' ],
 );
 
 # Similarly, this list of packages, regexes, and optional tags say that if the

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-08-20 01:14:01 UTC (rev 724)
+++ trunk/debian/changelog	2006-08-20 01:39:21 UTC (rev 725)
@@ -32,6 +32,8 @@
     + [RA] Warn when encountering an aspell dictionary package that isn't
       arch: all.  Thanks, Piotr Engelking.  (Closes: #374899)
     + [RA] Check the syntax of the new Python-Version field.
+    + [RA] Check for missing build dependencies on python-central or
+      python-support.  Thanks, Raphaël Hertzog.
   * checks/files{.desc,}:
     + [RA] Provide a better explanation of why Debian packages shouldn't
       ship files in /srv.  (Closes: #379176)



Reply to: