Howdy,

On Wed, 14 Aug 2019, Ben Finney wrote:

On 01-Apr-2019, Unit 193 wrote:

dh_python3 reads [its arguments such that] any path passed as an
argument is prefixed with 'debian/$package/', which in this case
ends up being 'debian/gandi-cli/debian/gandi-cli/...'

I can now confirm this difference.

The original described problem was that Debhelper was reading the
package control stanza's “Depends” field in the source package:

   Depends: ${python3:Depends}, ${misc:Depends}

and incorrectly expanding its “python3:Depends” placeholder to an
empty dependency list in the binary package:

   Depends:

When I change the ‘dh_python3’ arguments as Unit 193 describes, the
resulting “Depends” field in the binary package is:

   Depends: python3-click (>= 7.0), python3-ipy,
       python3-pkg-resources, python3-requests, python3-yaml,
       python3:any

Unit 193, can you confirm that is correct to resolve this bug?

Just passing dh_python3 with no arguments does give me the expected value of

Depends: python3-click (>= 7.0), python3-ipy, python3-pkg-resources,
         python3-requests, python3-yaml, python3:any

So yep, I can indeed confirm!


~Unit 193
Unit193 @ freenode
Unit193 @ OFTC

Reply via email to