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

Re: Python namespace in packages



On Wed, 2006-01-18 at 16:00 +0000, Paul Howarth wrote:
> Jeff Pitman wrote:
> > So, potentially, the following would cover our bases:
> > 
> > Provides: python2.3(elementtree)
> > Provides: python2.4(elementtree)
> > 
> > This would be relatively to script-kiddie out as long as everyone sees
> > the value in it.
> 
> The way this is done for the perl namespace is:
> 
> Provides: perl(Module::Name)
> Requires: perl(:MODULE_COMPAT_x.y.z)
> 
> The main perl package itself (perl-x.y.z) provides 
> perl(:MODULE_COMPAT_x.y.z) (it may also provide support for perl modules 
> built using other versions of perl too, such as 
> perl(:MODULE_COMPAT_x.y.z-1, but that's a separate issue).
> 
> So a python equivalent might be:
> 
> * Main python package
> Provides: python(:PACKAGE_COMPAT_2.3)
> 
> * Other Python packages:
> Provides: python(elementtree)
> Requires: python(:PACKAGE_COMPAT_2.3)
> 
> So a python upgrade should trigger updates for all other python packages.
There's already:
$ rpm -q --provides python|grep abi
python(abi) = 2.4
python-abi = 2.4

which python packages should be requiring.  So we only need the new
python module provides.

-Toshio

Attachment: signature.asc
Description: This is a digitally signed message part


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