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

Re: version independent pythin packages: ?



On Fri, Aug 08, 2003 at 01:52:40PM +0200, Matthias Urlichs wrote:
> Hi,
> 
> Donovan Baarda wrote:
> > It would be nice if you could specify dependencies as follows;
> >
> > Depends: (python2.2, python2.2-xmlbase, python-textwrap) | (python2.3),
> > python-roman
> >
> Hmm. You can, just distribute the stuff out (standard Boole algebra):
> Depends: python2.3 | python2.2, python2.2-xmlbase | python2.3,
>     python-textwrap | python2.3, python-roman
> 
> It looks ugly as hell, though, and I'll have to check whether it really does 
> the right thing when you have python2.2 installed and pull in 
> python-docutils.

I'm not sure this will work if I try to use docutils as a library in
another package supporting only python2.2. 

Initially installed packages:
python2.3

I apt-get install python2.2-so-and-so which
Depends: python2.2, python-docutils

python2.2 will be installed, so is python-docutils, but not
python-textwrap nor python2.2-xmlbase because python2.3 is there. 

The result is a malfunctionning python2.2-so-and-so, unless the packager
manually adds python-textwrap and python2.2-xml dependencies, but this
feels wrong to me. 
 

-- 
Alexandre Fayolle
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Développement logiciel avancé - Intelligence Artificielle - Formations



Reply to: