Package: debhelper
Version: 7.2.6
Severity: normal

Hello,
I was packaging a python module, and I needed to build it with different python
modules.
With debhelper 6 it would've been:

PYVERS=$(shell pyversions -r debian/control)

target:
        for python in $(PYVERS); do \
                $$python setup.py command; \
        done

This goes for build, install, clean. I've read the code for dh_auto_build, and
it directly calls "python". I believe it should run "pyversions -r
debian/control", and run the versions it outputs. I haven't looked at
dh_auto_install and dh_auto_clean, but I believe they should behave the same.

Thank you,
David

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils              2.19.51.20090315-1 The GNU assembler, linker and bina
ii  dpkg-dev              1.15.0             Debian package development tools
ii  file                  4.26-2             Determines file type using "magic"
ii  html2text             1.3.2a-13          advanced HTML to text converter
ii  man-db                2.5.5-1            on-line manual pager
ii  perl                  5.10.0-19          Larry Wall's Practical Extraction 
ii  po-debconf            1.0.15             manage translated Debconf template

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.48       tool that converts source archives

-- no debconf information

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to