updating build dependencies for zope3 packages (dh_pycentral -> dh_python2)

Matthias Klose doko at debian.org
Wed Jul 28 11:24:59 UTC 2010


On 28.07.2010 12:41, Brian Sutherland wrote:
> On Wed, Jul 28, 2010 at 03:50:59AM +0200, Matthias Klose wrote:
>> this only affects zope3, please ignore for zope2* packaging.
>>
>> I'd like to get rid off the python-central (build-)dependencies, and
>> would like to replace it by dh_python2.  The changes look mechanical, but
>> I'd like to see van.pydeb converted first, and then start to convert the
>> other zope3 packages. Any objections on this proposal?
>
> Er, Google is very unhelpful showing what dh_python2 actually does. I
> can't even find the source code...
>
> What does dh_python2 do?

it's intended as a packaging helper which doesn't add/remove files within the 
maintainer scripts, but always ships all files/symlinks within the package itself.

> Why do we want to use it over python-central?

we can use dh_pycentral, but in this case, we should build using 
DH_PYCENTRAL=include-links.

> I've seen a hint on google that dh_python2 parses requires.txt, in that
> case would we be able to replace our use of van.pydep with it?

I didn't intend on replacing van.pydep.

   Matthias



More information about the pkg-zope-developers mailing list