Le lundi 09 avril 2007 à 12:32 +0200, Francesco Paolo Lovergine a
écrit :
> Package: python-support
> Version: 0.6.3
> Severity: important
> 
> While working on thuban I used this control file:
> 
> http://svn.debian.org/wsvn/pkg-grass/packages/thuban/trunk/debian/control?op=file&rev=0&sc=0
> 
> introducing the alternative field
> 
> Python-Depends: python-wxgtk2.6 (>= 2.6.3), python-sqlite (>= 0.4), 
> python-xmlbase 

> Note that it depends on ALL alternative versions for 2.4 and 2.5 -
> which are the pyversions I declared (2.4-). 
> It should depend in OR from those alternatives, not requiring the
> installation of all damn per-python version modules AFAIK. 

This is expected. The per-python version are virtual packages which have
to be provided by the packages you depend upon. This doesn't mean, in
your example, that python2.4 and python2.5 will be brought, only that
python-wxgtk2.6 and so on have to provide the python2.5 interfaces.

If you don't do that, the Provides: field is meaningless. This was
discussed at large in Oaxtepec. Note that you don't need to use
Python-Depends if you don't have a "Provides: ${python:Provides}", but
it is recommended.

> For instance in this case:
> 
> python2.5-wxgtk2.6 | python-wxgtk2.6
> python2.5-xmlbase | python-xmlbase
> python2.5-sqlite | python-sqlite

These dependencies would be semantically wrong.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

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

Reply via email to