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

Re: Future of dh_python



Le mercredi 16 août 2006 à 16:21 +0200, Raphael Hertzog a écrit :
> As I can understand him, we really should respect his wish. If Matthias agrees,
> I can extract the "dependency" generation code from dh_python and create
> a little perl library that would be included in the python package
> (or python-dev) and that would be used by dh_pysupport and dh_pycentral.
> I can also prepare patches for dh_pysupport/dh_pycentral.

The changes needed in dh_pysupport are trivial. As of version 0.4, it
handles dependencies in more cases than dh_python, and does it only if
debian/pycompat isn't found. The only thing to do is to remove this
check.

I also heard that python-central has some code for dependency
generation. Depending on how advanced it is, this library won't be
needed at all.

> dh_python would be modified to support only v1 mode (with a big
> deprecation warning) and would be no-op if debian/pycompat was 2
> (including the implicit pycompat=2 set if the XS-Python-Version header is
> here).

Yes.

> python-support/central will have to depend on the new debhelper to avoid
> generating dependencies twice if dh_python is invoked (as is currently
> the case for most packages).

We should avoid introducing a dependency on debhelper. A mutual conflict
on the older versions will do the trick.

> >    * -V is a redundant interface, since it does something approximating
> >    what debian/pyversons does. So things should be able to switch to the
> >    other interface, except in edge cases (although IMHO it's not an
> >    appropriate interface for a debhelper program), and for the edge
> >    cases, -V could be added to the other two programs.
> 
> Exactly, we should get rid of the "-V" parameter completely.

I strongly disagree here. The -V flag achieves something very specific
(e.g. for Zope packages) and there is no way that we can get rid of it
(or another interface achieving similar functionality). See #381389 for
an explanation.

> -X support has
> been added during my NMU as it was a wishlist that I found useful (so -X
> isn't widely used).

Yes, we can check for the few packages using it.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: