On Sun, Feb 28, 2010 at 23:17, Vincent Bernat <ber...@debian.org> wrote: > OoO En ce début d'après-midi ensoleillé du dimanche 28 février 2010, > vers 15:29, je disais: > >> Well, I disagree. Python 2.6 is not the default. Packages are currently >> built with Python 2.5 and do not fail to build in a current pbuilder. We >> already had a bunch of bug reports about packages not building with >> Python 2.6 as default a few months ago and it was a mess to setup a >> pbuilder to build with Python 2.6 as default [1]. The solution is easier >> now but not documented (to the best of my knowledge).
thanks for sharing your tips! I did mine in #571551 > For whoever may be interested, I use this hook for pbuilder: > > ,----[ /etc/pbuilder/hooks/A10python2.6 ] > | #!/bin/sh > | > | [ ! -f /usr/bin/python ] || { > | apt-get install -y --force-yes python2.6 > | ln -sf python2.6 /usr/bin/python at least you need also ln -sf python2.6-dbg /usr/bin/python-dbg for those packages needing a debugging-enabled interpreter. > | sed -i 's/^default-version =.*/default-version = python2.6/g' \ > | /usr/share/python/debian_defaults > | } > `---- Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/8b2d7b4d1002281453t4912e058w442d40b3252cb...@mail.gmail.com