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

[SCM] Debian package checker branch, master, updated. 2.5.2-88-g444c94e



The following commit has been merged in the master branch:
commit 444c94ee13a65cb783c32b9a90005c6721f7172f
Author: Jakub Wilk <jwilk@debian.org>
Date:   Sat Sep 3 20:41:42 2011 +0200

    Exclude some packages from third-party-package-in-python-dir
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/files b/checks/files
index 743f25e..881e3ed 100644
--- a/checks/files
+++ b/checks/files
@@ -786,7 +786,8 @@ foreach my $file (@{$info->sorted_index}) {
 	unless (defined $is_python) {
 	    $is_python = 0;
 	    if ($source_pkg) {
-		$is_python = 1 if $source_pkg =~ m/^python(?:\d\.\d)?$/;
+		$is_python = 1 if $source_pkg =~ m/^python(?:\d\.\d)?$/
+		    or $source_pkg =~ m/^python\d?-(?:stdlib-extensions|profiler|old-doctools)$/;
 	    }
 	}
 	tag 'third-party-package-in-python-dir', $file
diff --git a/checks/files.desc b/checks/files.desc
index 4144d12..66bab39 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -504,6 +504,7 @@ Info: Third-party Python packages should install their files in
  for Python 2.6 and later.  All other directories in
  <tt>/usr/lib/python<i>VERSION</i></tt> are for use by the core python
  packages.
+Ref: python-policy 1.5
 
 Tag: perl-module-in-core-directory
 Severity: important
diff --git a/debian/changelog b/debian/changelog
index fd82e14..0fd938a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -66,7 +66,7 @@ lintian (2.5.3) UNRELEASED; urgency=low
       (Closes: #629308)
   * checks/{filenames,rules}.desc:
     + [NT] Improved the descriptions of some tags.  (Closes: #639018)
-  * checks/files:
+  * checks/files{,.desc}:
     + [NT] Added exceptions to "extra-license-file" for manpages,
       static libraries, .pc-, elf and pyshared-data-files.  This
       covers all the false-positives currently found in the liblicense
@@ -78,6 +78,10 @@ lintian (2.5.3) UNRELEASED; urgency=low
       and are not marked "Architecture: all".  Thanks to Evgeni Golov,
       Carl Fürstenberg and Jari Aalto for the suggestions.
       (Closes: #574689)
+    + [JW] Do not emit third-party-package-in-python-dir for packages built
+      from python{,3}-{stdlib-extensions,profiler,old-doctools} sources.
+      Add reference to Python Policy in the tag description.
+      (Closes: #640211)
   * checks/menus.desc:
     + [NT] Added reference to the doc-base manual to help people
       find the list of valid doc-base sections.  (Closes: #584280)

-- 
Debian package checker


Reply to: