On Fri, Dec 11, 2009, Steve Langasek wrote: > I think this is a policy regression, actually. The fact that > /usr/bin/python2.x is a binary, and /usr/bin/python is a symlink pointing to > a binary, is not irrelevant - we certainly don't want someone to get the > idea that it's ok to replace either of these with a script... > > So I would revert the first chunk, and for the second chunk change it to: > > @@ -153,7 +154,8 @@ > </p> > <p> > At any time, the <package>python</package> package must ensure > - that the binary <file>/usr/bin/python</file> is provided. > + that <file>/usr/bin/python</file> is provided as a symlink to the > + current <file>python<var>X</var>.<var>Y</var></file> executable. > > The <package>python</package> package must also depend on the > appropriate <package>python<var>X</var>.<var>Y</var></package> to
Thanks, I merged something close; patch attached -- Loïc Minier
>From b4764801ece55036695e6d380ee5732986a0bf56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <l...@dooz.org> Date: Fri, 11 Dec 2009 10:13:52 +0100 Subject: [PATCH 26/30] Clarify which files are provided Clarify that pythonX.Y provides a /usr/bin/pythonX.Y interpreter binary and that python provides a /usr/bin/python symlink to the current pythonX.Y executable. --- debian/python-policy.sgml | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/python-policy.sgml b/debian/python-policy.sgml index 804effc..7ba6a14 100644 --- a/debian/python-policy.sgml +++ b/debian/python-policy.sgml @@ -135,8 +135,9 @@ For every Python version provided in the distribution, the package <package>python<var>X</var>.<var>Y</var></package> shall provide a complete distribution for <em>deployment</em> of Python scripts - and applications. The package must ensure that the binary - <file>/usr/bin/python<var>X</var>.<var>Y</var></file> is provided. + and applications. The package must ensure that the + <file>/usr/bin/python<var>X</var>.<var>Y</var></file> interpreter + executable is provided. </p> <p> Installation of <package>python<var>X</var>.<var>Y</var></package> @@ -153,7 +154,8 @@ </p> <p> At any time, the <package>python</package> package must ensure - that the binary <file>/usr/bin/python</file> is provided. + that <file>/usr/bin/python</file> is provided as a symlink to the + current <file>python<var>X</var>.<var>Y</var></file> executable. The <package>python</package> package must also depend on the appropriate <package>python<var>X</var>.<var>Y</var></package> to -- 1.6.5