Python namespace in packages
Toshio Kuratomi
toshio at tiki-lounge.com
Fri Jan 20 23:25:02 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060120/a6eb0953/attachment.sig>
More information about the fedora-devel-list
mailing list