From 401e05179a2c5957cd288d40267a6c615938350f Mon Sep 17 00:00:00 2001 From: Scott Kitterman <kitterma@dell-desktop> Date: Mon, 21 Jun 2010 15:22:18 -0400 Subject: [PATCH] Revert X-S-PV for Python 3 versions policy change. We aren't there yet. modified: debian/changelog debian/python-policy.sgml --- debian/changelog | 2 -- debian/python-policy.sgml | 17 +++-------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/debian/changelog b/debian/changelog index d1d13f7..4f7e806 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,6 @@ python-defaults (2.6.5-4) UNRELEASED; urgency=low [ Scott Kitterman ] * Additonal Python 3 related policy changes: - Clarify that helper specific policy does not apply to Python 3 - - Define policy for expressing Python and Python 3 versions in - XS-Python-Version -- Piotr Ożarowski <piotr@debian.org> Sun, 20 Jun 2010 16:13:24 -0400 diff --git a/debian/python-policy.sgml b/debian/python-policy.sgml index ba04409..2542109 100644 --- a/debian/python-policy.sgml +++ b/debian/python-policy.sgml @@ -438,35 +438,24 @@ import foo 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 (Note: This does not include any - Python 3 versions). - </p> - <p> - It is used to express both Python and Python 3 versions. Support for - Python 3 versions cannot be implicitly defined, it must always be - explicit. It is not necessary to express <tt><< 3.0</tt> because this is - always true when Python versions are specified. - </p> - <p> + 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 generate appropriate Depends and Provides lines. The format of the field may be one of the following: <example> XS-Python-Version: >= X.Y -XS-Python-Version: >= 2.Y, >= 3.Y XS-Python-Version: >= A.B, << X.Y XS-Python-Version: A.B, X.Y XS-Python-Version: all -XS-Python-Version: all, >= 3.1 </example> The keyword "all" means that the package supports any Python version available but might be deprecated in the future since using version numbers is clearer than "all" and encodes more information. The keyword "all" is limited to Python versions and must be ignored for Python 3 versions. - </p> - <p> + The keyword "current" has been deprecated and used to mean that the package would only have to support a single version (even across default version changes). It must be ignored for Python 3 -- GitLab