Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-06-29 Thread Bernd Zeimetz
Bernd Zeimetz wrote: > b...@think /tmp/A% pyversions -r > pyversions: error parsing Python-Version attribute > 1 b...@think /tmp/A% pyversions -s > python2.4 python2.5 > b...@think /tmp/A% > > Doesn't seem so... *sigh* it works well if there is a debian/control file. Thanks for useful error mess

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-06-29 Thread Bernd Zeimetz
Josselin Mouette wrote: > Le jeudi 18 juin 2009 à 10:33 +0200, Bernd Zeimetz a écrit : >> Use pyversions -s if pyversions -r fails. pyversions -s will work always as >> it >> lists all supported Python versions. If a package doesn'tlimit itself to >> Python >> versions it works with, it should b

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-06-18 Thread Josselin Mouette
Le jeudi 18 juin 2009 à 10:33 +0200, Bernd Zeimetz a écrit : > Use pyversions -s if pyversions -r fails. pyversions -s will work always as it > lists all supported Python versions. If a package doesn'tlimit itself to > Python > versions it works with, it should be built for all supported versions

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-06-18 Thread Bernd Zeimetz
Joey Hess wrote: > Julian Andres Klode wrote: >> pyversions -r lists all supported versions if the field in debian/control >> and debian/pyversions are both missing. If debian/pyversions is empty it >> would fail, but debian/pyversions should never be empty. >> >> At least this is what I saw in my

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-04-11 Thread Julian Andres Klode
On Fri, Apr 10, 2009 at 05:16:22PM -0400, Joey Hess wrote: > I'm mostly worried about breaking any existing packages that use dh or > dh_auto_*, and somehow contain something that breaks if it's changed to > start building multiple times for multiple python versions. (There are > probably few if an

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-04-10 Thread Joey Hess
Julian Andres Klode wrote: > pyversions -r lists all supported versions if the field in debian/control > and debian/pyversions are both missing. If debian/pyversions is empty it > would fail, but debian/pyversions should never be empty. > > At least this is what I saw in my local testing. You're

Re: Bug#520834: dh_auto_{build,install,clean} should support different python versions

2009-04-10 Thread Julian Andres Klode
On Fri, Apr 10, 2009 at 03:50:05PM -0400, Joey Hess wrote: > Julian Andres Klode wrote: > > Change the behaviour of the dh_auto_* scripts to get the requested > > Python versions from `pyversions -r` and build for all of them, instead > > of just the current Python version. > > Can we be sure that