tag 572155 - patch
thanks

Le lundi 01 mars 2010 à 22:58 +0000, Jonathan Wiltshire a écrit : 
> If /usr/bin/python is not a symlink to python*, dh_pysupport always evaluates
> it to be smaller than the supported versions, and so generates a dependency
> like this: "Depends: python (>= 2.5) | python2.5". This is undesirable.

Indeed.

> The attached patch avoid reinventing the wheel by using pyversions to get the
> current default version. If pyversions returns an error code, so does
> dh_pysupport; otherwise it uses the version that pyversions declared to be the
> default. This behaviour alerts the maintainer to a problem with their build
> environment.

I don’t want to make python-support use pyversions, which is a very
fragile script.

I think it should just die with an appropriate error message if the
symlink is not correct.

-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to