Hi, with debhelper >= 7.3.5 it is possible to build Python extensions and -dbg packages, as long as they come with a distutils/setuptools based setup.py. By default dh will call setup.py with all requested Python versions, starting with /usr/bin/python aka. the default Python version (if it was requested to build with it). Then dh will build with all other requested Python versions, if they're installed. This ensures that there is no need to build depend on python-all(-dev) if you don't need to. Of course you need to take care of your build-dependencies, dh won't help you here, at it won't fail to build if there are some missing. For all requested Python versions dh will also look into debian/control to figure out if you build-depend on a python.*-dbg package (yes, python-dbg and python-all-dbg will be recognized, too...) which installs the python dbg interpreter in this version. If an according build-dependency was found, the dbg extensions will be built. As they'll end up in debian/tmp together with the normal build, you'll have to write proper debian/package.install files to put them into the right package. Let me know if you find any problems. Cheers, Bernd -- Bernd Zeimetz Debian GNU/Linux Developer GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79 ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Attachment:
signature.asc
Description: OpenPGP digital signature