Comment 8 for bug 6832

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040622110737.GA14199@seagoon>
Date: Tue, 22 Jun 2004 12:07:37 +0100
From: Paul Brossier <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: moreinfo needed

tags 255603 moreinfo unreproductible
thanks, piem

from to the debian python policy draft [1] in 2.2.1:

     If the build process uses distutils and/or binary modules are
     built, the source package must declare:

          Build-Depends: pythonX.Y-dev

     where <X>.<Y> is the version used in the `Depends'. If the
     packaging process can deal with later versions of python without
     any changes to the packaging, it can instead declare:

          Build-Depends: python-dev (>= X.Y)

we are in the first case, since moving to python2.4 would require
changing the packaging. but further with appendix A, i understand that
for pyrex it should be:

          Build-Depends: python2.2-dev (>= 2.2-1)
          Build-Depends: python2.3-dev (>= 2.3-1)
          Build-Depends: python-dev (>= 2.3)

this is somewhat contradictory. anyway pbuilder is quite happy building
the package without using the python-dev package at all. python itself
is installed simply by the python2.3-dev build-dependancy. i get the
following output using pbuild against sarge [2].

are you trying to compile it for woody? let me know if/why you think a
Build-Depends on python-dev is still required.

thanks for your help

paul

--
[1] http://people.debian.org/~joss/python/python-policy-draft.txt

--
[2] snip from running 'pbuilder build pyrex_0.9.2.1-3.dsc'
Installing the build-deps
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.18 2003/04/20 03:40:36 dancer Exp $
 -> Considering python2.2-dev
   -> Trying python2.2-dev
 -> Considering python2.3-dev
   -> Trying python2.3-dev
 -> Considering debhelper (>> 4.1.52)
   -> Trying debhelper
 -> Installing python2.2-dev python2.3-dev debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  debconf debconf-i18n debconf-utils file gettext gettext-base html2text intltool-debian libbz2-1.0 libdb4.2
  liblocale-gettext-perl libmagic1 libreadline4 libssl0.9.7 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl po-debconf python python2.2 python2.3
Suggested packages:
  debconf-doc whiptail dialog gnome-utils libterm-readline-gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl
  dh-make cvs libbz2-dev bzip2 python-doc python-tk python2.2-doc python2.3-doc
Recommended packages:
  apt-utils python2.2-iconvcodec python2.2-cjkcodecs python2.2-japanese-codecs python2.3-iconvcodec
  python2.3-cjkcodecs python2.3-japanese-codecs
The following NEW packages will be installed:
  debconf debconf-i18n debconf-utils debhelper file gettext gettext-base html2text intltool-debian libbz2-1.0
  libdb4.2 liblocale-gettext-perl libmagic1 libreadline4 libssl0.9.7 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl po-debconf python python2.2 python2.2-dev python2.3 python2.3-dev
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.