Skip to content
Snippets Groups Projects
Commit e1df222d authored by Scott Kitterman's avatar Scott Kitterman
Browse files

* In debian/python-policy.sgml specify the correct debian/control paragraphs

    for XS/XB-Python-Version (Closes: #567941)
    - Thanks to Loïc Minier for the patch

modified:
  debian/changelog
  debian/python-policy.sgml
parent 908a0077
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,9 @@ python-defaults (2.6.5-2) UNRELEASED; urgency=low
* debian/pyversions.py: Exclude python3 versions from results - those are
handled by py3versions in python3-defaults
* Update debian/copyright from LICENSE in python2.6 (Closes: #446671)
* In debian/python-policy.sgml specify the correct debian/control paragraphs
for XS/XB-Python-Version (Closes: #567941)
- Thanks to Loïc Minier for the patch
-- Matthias Klose <doko@debian.org> Tue, 18 May 2010 12:28:25 +0200 Sat, 05 Jun 2010 18:59:57 -0400
......
......@@ -421,9 +421,10 @@ import foo
<heading>Specifying Supported Versions</heading>
<p>
The optional <tt>XS-Python-Version</tt> field
in <file>debian/control</file> specifies the versions of
Python supported by the source package. When not specified, it
defaults to all currently supported Python versions.
in the general paragraph (the first one, for the source package) of
<file>debian/control</file> specifies the versions of Python
supported by the source package. When not specified, it defaults to
all currently supported Python versions.
It is notably used to track packages during Python transitions,
and is also used by some packaging scripts to automatically
......@@ -445,7 +446,8 @@ XS-Python-Version: all
across default version changes).
</p>
<p>
Your control file should also have a line:
The binary package paragraphs of your debian/control file should
also have a line:
<example>
XB-Python-Version: ${python:Versions}
</example>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment