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

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



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 any such packages, but I do have to worry about backward
> compatability when I change dh_auto_*.)

I just took a look at it and packages which only build-depend on python
or python-dev and not python-all{,-dev} will break with this patch.

So the solution is:
  if Build-Depends contains python-all (or python-all-dev):
    => Build using all requested versions (pyversions -r)
  else:
    => Build using the current version (pyversions -d)

Could this be implemented? 



-- 
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: