[Pkg-giraffe-discuss] python2/python3 packaging

Guido Günther agx at sigxcpu.org
Mon Jul 31 10:34:54 UTC 2017


Hi,
On Mon, Jul 31, 2017 at 12:26:52PM +0200, Simon Eisenmann wrote:
> 
> 
> -----Original message-----
> > From:Guido Günther <agx at sigxcpu.org>
> > Sent: Monday 31st July 2017 12:18
> > To: Mark Dufour <m.dufour at kopano.com>
> > Cc: pkg-giraffe-discuss at lists.alioth.debian.org (pkg-giraffe-discuss at lists.alioth.debian.org) <pkg-giraffe-discuss at lists.alioth.debian.org>; Carsten Schoenert <c.schoenert at t-online.de>
> > Subject: Re: [Pkg-giraffe-discuss] python2/python3 packaging
> > 
> > Hi,
> > On Mon, Jul 31, 2017 at 12:01:56PM +0200, Mark Dufour wrote:
> > > hi guys,
> > > 
> > > so for 8.5 we are hard at work to fully support python3, but it's not
> > > yet entirely clear how to do the packaging. on the RPM side we call
> > > configure twice with different versions of PYTHON, then collect the
> > > SWIG libs from swig/python/.libs and package those separately as
> > > "python-mapi" and "python3-mapi". if anyone would have some
> > > recommendations that would be great:
> > 
> > https://github.com/agx/gtk-vnc-debian/blob/debian/sid/debian/rules
> > 
> > uses two configure calls to build for two gtk versions. Building for
> > python2 and 3 is similar.
> >
> 
> Does the python packaging use dh_python2? If not this might be also
> the time to change that and use dh_python2 and dh_python3.


You can check here:

    https://anonscm.debian.org/cgit/pkg-giraffe/kopanocore.git/tree/debian/rules

Cheers,
 -- Guido



More information about the Pkg-giraffe-discuss mailing list