On Thu, Nov 23, 2006 at 03:46:14PM +0100, Raphael Hertzog wrote:
> On Thu, 23 Nov 2006, Alexandre Fayolle wrote:
> > > This module provides python2.[1234]-pymacs but it should instead provide
> > > ${python:Provides} to avoid providing versions of the module that it is
> > > no
> > > more providing because we dropped them from the set of supported versions
> > > (as
> > > is the case with python2.3 in unstable).
> >
> > Hi,
> >
> > I'm not sure about this one. The source package currently in unstable
> > ships python2.1-pymacs, python2.2-pymacs and python2.3-pymacs, and
> > subsequent changes lead to a single binary package called pymacs. The
> > Provides is here to ensure a smooth upgrade for sarge -> etch. Am I
> > missing something? Should I do this in a different way (e.g. shipping
> > empty python2.X-pymacs packages depending on pymacs)?
>
> Given that nobody uses python2.X-pymacs to depend on your package, I think
> it's ok to leave it as is.
>
> Post-etch though, you might want to drop some cruft in the Provides: header
> as the Provides from the technical side is wrong: your package only
> provides the modules for the current python-version and not for all the
> versions listed.
The plan is to drop the provides and conflicts and replaces post-etch.
And I totally agree with your remark about the semantics of the provides
statement.
>
> Note that ${python:Provides} wouldn't help much in this case AFAIK since
> the package is named pymacs and not python-pymacs and only the latter case
> is supported by dh_pycentral.
In any case the Provides is not mandated, since there are no C
extensions in pymacs. I'll drop it once etch is released.
I could switch back to python-pymacs, if you feel that this would be
more python-policy compliant. On the other hand, this is not really a
python library, more an emacs extension. Maybe pymacs-el would be more
to the point...
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
Reprise et maintenance de sites CPS: http://www.migration-cms.com/
signature.asc
Description: Digital signature

