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:
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.
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:
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:
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:
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
-- people. debian. org/~joss/ python/ python- policy- draft.txt
[1] http://
-- 9.2.1-3. dsc' satisfydepends, v 1.18 2003/04/20 03:40:36 dancer Exp $ gettext- perl libmagic1 libreadline4 libssl0.9.7 libtext- charwidth- perl libtext-iconv-perl wrapi18n- perl po-debconf python python2.2 python2.3 readline- gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl 2-iconvcodec python2.2-cjkcodecs python2. 2-japanese- codecs python2. 3-iconvcodec 3-cjkcodecs python2. 3-japanese- codecs gettext- perl libmagic1 libreadline4 libssl0.9.7 libtext- charwidth- perl libtext-iconv-perl wrapi18n- perl po-debconf python python2.2 python2.2-dev python2.3 python2.3-dev
[2] snip from running 'pbuilder build pyrex_0.
Installing the build-deps
-> Attempting to parse the build-deps : pbuilder-
-> 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-
libtext-
Suggested packages:
debconf-doc whiptail dialog gnome-utils libterm-
dh-make cvs libbz2-dev bzip2 python-doc python-tk python2.2-doc python2.3-doc
Recommended packages:
apt-utils python2.
python2.
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-
libtext-
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.