Bug#936873: Bug#727005: switch python bindings to python3

2020-04-21 Thread Boruch Baum
On 2020-03-18 15:13, Matthias Klose wrote:
> swig3 had support for Python3, and now we have swig 4.0 in the archive.  Any
> update on this?

I understood this to be for the debian hebrew packaging team, to approve
and apply the patch submitted by Andreas Henriksson[1] (the related debian bug
727005).

1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727005#14


--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



Bug#936873: Bug#727005: switch python bindings to python3

2020-03-18 Thread Matthias Klose
swig3 had support for Python3, and now we have swig 4.0 in the archive.  Any
update on this?



Bug#936873: Bug#727005: switch python bindings to python3

2019-10-27 Thread Boruch Baum
- Forwarded message from Boruch Baum  -

Date: Sun, 27 Oct 2019 14:03:58 -0400
From: Boruch Baum 
To: Andreas Henriksson , 727...@bugs.debian.org
Cc: Torsten Landschoff 
Subject: Bug#727005: switch python bindings to python3
User-Agent: NeoMutt/20180716

Hi Andreas,

I don't foresee this working, because the package depends on swig to
perform the heavy lifting for the python bindings, and debian currently
packages only version 3 of swig, which as far as I can tell, does not
support python3...

Version 4 of swig does seem to support python3, using a new command-line
option `-py3`.

I'm cc'ing  Torsten Landschoff  on this bug, as he
is llisted as the debian maintainer for the swig package.

@Torsten - Am I correct about python3 support in swig3? Is debian
planning on soon updating the package to version 4 (ie. before debian
drops support for python2)? Do you have any suggestions or pointers for
us?

On 2019-10-24 22:27, Andreas Henriksson wrote:
> Control: tags -1 + patch
>
> Hello,
>
> Please see attached patch with my naive attempt at porting libhdate
> to build python3 bindings instead of python2.
>
> This seems to work with the patch I'm about to post to the only
> reverse build-dependency bsdmainutils in #936244 but you should
> probably review it carefully anyway since I'm not really sure
> what I'm doing here.
>
> Regards,
> Andreas Henriksson


- End forwarded message -

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0