Package: dh-virtualenv
Version: 0.6-1
Severity: normal

dh_virtualenv doesn't honor dh's -a option:

,---- [ simple demo ]
| % dpkg-buildpackage -B
| [...]
| dh binary-arch --with=python-virtualenv
|    dh_testroot -a
|    dh_prep -a
|    dh_installdocs -a
|    dh_installchangelogs -a
|    dh_perl -a
|    dh_virtualenv -a
| Usage: dh_virtualenv [options]
|
| dh_virtualenv: error: no such option: -a
| make: *** [binary-arch] Error 2
`----

Any dh script should accept -a and -i, quoting from debhelper's source:

,---- [ debhelper-9.20131227/doc/PROGRAMMING ]
| Debhelper programs should accept all options listed in the "SHARED
| DEBHELPER OPTIONS" section of debhelper(7), including any long forms of
| these options, like --verbose . If necessary, the options may be ignored.
`----

Quoting according section of debhelper(7):

,---- [ man 7 debhelper ]
| SHARED DEBHELPER OPTIONS
| [...]
|        -a, --arch
|            Act on architecture dependent packages that should be built for 
the build architecture.
|
|        -i, --indep
|            Act on all architecture independent packages.
`----

regards,
-mika-


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to