[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Double dependency problem with ${shlibs:Depends}, ${misc:Depends}, etc.



Le lundi 01 mars 2010 à 00:08 +0900, Osamu Aoki a écrit : 
> For python-gdata (2.0.7-1) which seems broken today also had:
> 
>   --\ Depends (4)
>     --- python
>     --- python (>= 2.5) | python-celementtree | python-elementtree
>     --- python-support (>= 0.90.0)
>     --- python2.4 (UNAVAILABLE)
> 
> This came from
> Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
>  python (>= 2.5) | python-celementtree | python-elementtree
> 
> I do not know why python2.4 was introduced and why we need it.  

This is probably because of a broken shebang in a script. Blame
setuptools which replaces working shebangs by ones with the Python
version hardcoded.

> I also
> think depending both on python and python (>= 2.5) looks ugly.  

This is a real dependency. If python version is < 2.5 you need to pull
the elementtree module.

Now that python 2.5 is the default in stable, this could probably be
dropped in favor of requiring python >= 2.5 and that would be all.

> This seems to be typical problem happening since lintian recommendation
> for adding ${misc:Depends}.

All these dependencies were added either manually or by
${python:Depends}, not by ${misc:Depends}.

-- 
 .''`.      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 =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: