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).
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
| sed -i 's/^default-version =.*/default-version = python2.6/g' \
| /usr/share/python/debian_defaults
| }
`----
--
BOFH excuse #341:
HTTPD Error 666 : BOFH was here
Attachment:
pgpiOGp69kD3s.pgp
Description: PGP signature