Bug#880160: dh-python: dh --with python2 invokes python3 config

2017-10-30 Thread Drew Parsons
p.s. the code involved is l.174 in /usr/share/perl5/Debian/Debhelper/Buildsystem/pybuild.pm

Bug#880160: dh-python: dh --with python2 invokes python3 config

2017-10-30 Thread Drew Parsons
The misconfiguration is triggered by Build-Depends: python3-all, python3-setuptools When I remove this reference to python3 then build proceeds normally under python2. That's good enough as a work around. But the bug still remains, that python3 is used (if the python3-all Build-Depends is

Bug#880160: dh-python: dh --with python2 invokes python3 config

2017-10-30 Thread Drew Parsons
Package: dh-python Version: 2.20170125 Severity: normal I'm packaging sasview (https://anonscm.debian.org/cgit/debian-science/packages/sasview.git/) sasview supports python2 only at the moment, so I've configured debian/rules with dh $@ --with python2 --buildsystem=pybuild However when I