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

Bug#523645: python-apt: Port to Python 3.1



On Sat, Apr 11, 2009 at 07:28:14PM +0200, Julian Andres Klode wrote:
> On Sat, Apr 11, 2009 at 05:58:09PM +0200, Julian Andres Klode wrote:
> > This bug is a bug for tracking the progress of the Py3k porting,
> > which I will work on next week (and also later).
> > 
> I have just pushed the py3k branch, containing a working apt_inst
> module for python 3.1
> 
> Vcs-Bzr: http://bzr.debian.org/users/jak/python-apt/py3k/
> Vcs-Browser: http://bzr.debian.org/loggerhead/users/jak/python-apt/py3k/changes
> 
> This is a very straight forward port, e.g. uses bytes instead of strings (which
> may be better at some places). But this way is the easiest way to start working.
> 
> I will send an email once I have completed apt_pkg extension.

EVERYTHING seems to be finished now. There may be a few places where bytes are returned
instead of strings, or the other way around, but for most purposes it should
work now; including the apt and aptsources packages.

	bzr branch http://bzr.debian.org/users/jak/python-apt/py3k/
	cd py3k
	bzr-buildpackage

will give you a package to test it. Have fun.

PS. Thank you 2to3 tool for helping me to convert all python modules (*.py) to
    py3k. You are used in debian/rules and it's great that you exist.
-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/

Attachment: signature.asc
Description: Digital signature


Reply to: