[SCM] Debian package checker branch, master, updated. 2.2.10-1-g8c7e474
The following commit has been merged in the master branch:
commit 8c7e47490843cb440eec7af1ce884fa46be20332
Author: Russ Allbery <rra@debian.org>
Date: Tue Apr 28 10:24:54 2009 -0700
Allow python << dependencies if python-support is used
* checks/fields{,.desc}:
+ [RA] Allow python << dependencies without Python-Version if the
package depends on python-support, which doesn't use the
Python-Version field. Adjust the long description of
old-versioned-python-dependency to make it clearer it only applies
to python-central. Thanks, Bernd Zeimetz. (Closes: #525997)
diff --git a/checks/fields b/checks/fields
index 2ace802..a46e97c 100644
--- a/checks/fields
+++ b/checks/fields
@@ -643,7 +643,8 @@ if (($type eq "binary") || ($type eq 'udeb')) {
tag "old-versioned-python-dependency", "$field: $part_d_orig"
if ($d_pkg eq 'python' && $d_version->[0] eq '<<' && &$is_dep_field($field)
- && $arch_indep && $pkg =~ /^python-/ && ! defined $info->field('python-version'));
+ && $arch_indep && $pkg =~ /^python-/ && ! defined $info->field('python-version')
+ && ! $info->relation('depends')->implies('python-support'));
# only trigger this for the the preferred alternative
tag "versioned-dependency-satisfied-by-perl", "$field: $part_d_orig"
diff --git a/checks/fields.desc b/checks/fields.desc
index 95e226d..12ac8b1 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -883,14 +883,14 @@ Severity: normal
Certainty: certain
Info: This package appears to be an architecture-independent Python module
but has a dependency on a version of python less than a particular
- version and no Python-Version control field. This normally means that
- the package isn't using the current Python policy; most
- architecture-independent Python packages will work with any future
- version of Python if they follow the new policy.
+ version, doesn't use python-support and no Python-Version control field.
+ This normally means that the package isn't using the current Python
+ policy; most architecture-independent Python packages will work with any
+ future version of Python if they follow the new policy.
.
If this package really does require only a particular range of Python
- versions, add a Python-Version control field (as described in 2.3 of the
- Python policy) to resolve this warning.
+ versions and uses python-central, add a Python-Version control field (as
+ described in 2.3 of the Python policy) to resolve this warning.
Tag: malformed-dm-upload-allowed
Severity: important
diff --git a/debian/changelog b/debian/changelog
index a903958..500de83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+lintian (2.2.11) UNRELEASED; urgency=low
+
+ * checks/fields{,.desc}:
+ + [RA] Allow python << dependencies without Python-Version if the
+ package depends on python-support, which doesn't use the
+ Python-Version field. Adjust the long description of
+ old-versioned-python-dependency to make it clearer it only applies
+ to python-central. Thanks, Bernd Zeimetz. (Closes: #525997)
+
+ -- Russ Allbery <rra@debian.org> Tue, 28 Apr 2009 10:24:46 -0700
+
lintian (2.2.10) unstable; urgency=low
The "do something useful with tar errors, plus bug fixes" release.
--
Debian package checker
Reply to: