Bug#719063: lsb-release: should support python3

Alexandre Detiste <[email protected]> Mon, 1 Jun 2015 12:00:21 +0200
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <CADsTwjKrz9Q7hokgGw3-QBqBEJXppY9RssSR3KV0ow1YxL8J3w__24825.1411402181$1433153026$gmane$org@mail.gmail.com>
control: tag -1 +patch
control: user '[email protected]' , usertags -1
patchme-python3


Hi,

Here is a patch that has got some review from "Python3 porting devel" team.

The python2 module is kept back for compatibility (it's just the same
file that is symlinked twice).

The lsb-release package could also provide virtual package
"python-lsb"; and the package that needs explicitely the Python2
module (most use the cli applet) should start to depend on that.

Then "python-lsb" can be later spin off in a separate package with
only the /usr/lib/python2.7/dist-packages/lsb_release.py symlink.

The rest is converted to Python3.

Alexandre Detiste

----

Full thread:
 http://lists.alioth.debian.org/pipermail/py3porters-devel/Week-of-Mon-20150525/000237.html

Commented draft:
 https://github.com/a-detiste/lsb/commit/e4a31dd5f26e2aca65b58f47c2367049e8e3d9de

Final commit:
 https://github.com/a-detiste/lsb/commits/master