Bug#204843: [Build-common-hackers] Bug#204843: cdbs: python-distutils should use versioned python everywhere

Colin Walters Colin Walters <walters@verbum.org>, 204843@bugs.debian.org
Sun, 31 Aug 2003 01:17:40 -0400

tag 204843 pending

On Sun, 2003-08-10 at 14:00, Joerg Wendland wrote:
> Package: cdbs
> Version:
> Severity: important
> Hi,
> I am maintaining a python2.2-only package (python-bz2). I build-depend
> on python2.2-dev for dist-utils and python-headers. CDBS calls
> /usr/bin/python for building the package, so I had to use python2.3-dev
> after python2.3 becoming the default version. But this is not feasible
> because my package just won't build against python2.3. So
> common-build-impl should run something like python$(cdbs_python_ver) as
> in the install targets. I believe there will be more packages with that
> problem.

I see.  Well, it's difficult to guess what version of Python to compile
with.  So I added DEB_PYTHON_COMPILE_VERSION in the cdbs CVS which you
can set to handle this case.