stdeb icon indicating copy to clipboard operation
stdeb copied to clipboard

dh_python2/3 not called in dh binary-arch/-indep

Open jas-per opened this issue 11 years ago • 0 comments

I didn't get ${python\3:Depends} resolved by dh_python2/3 when building my package. Build depends on dh-python is present. Think I found the culprit in the self.dh_binary_arch_lines = '\tdh binary-arch' and -indep lines that get written to the rules file without an explicit --with python2,python3

if I put this into the rules file everything works as expected, but I have not enough experience with building python packages to be 100% sure if that'd be the correct fix. dh $@ --with python2,python3 will get added at the beginning of the rules file, but I think these parameters won't get passed on when 'dh binary-indep' gets called

Also a bit confused about https://github.com/astraw/stdeb/pull/83 where ${python\3:Depends} obviously gets resolved by dh_python2/3

jas-per avatar Apr 22 '15 19:04 jas-per