[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Python dependency when building



Hi,

I hope this question is easy to answer, maybe I'm on the wrong list.

The lintian report for package asymptote-x11 says:

E: asymptote-x11: python3-script-but-no-python3-dep python3 (does not satisfy python3:any | python3-minimal:any) [usr/share/asymptote/GUI/xasy.py]
N:
<snip>
N:
N:   If you are using debhelper, adding ${python3:Depends} to the Depends field
N:   and ensuring dh_python3 is run during the build should take care of adding
N:   the correct dependency.
N:

The debian/control of the source package reads:

Package: asymptote-x11
Architecture: all
Depends: ${misc:Depends},
         ${python3:Depends},
         asymptote (>= ${binary:Version}),
         <snip>

and the d/rules uses the dh sequencer: dh $@ --with python3

Looking at the build log I see that dh_python3 is called,
nevertheless dpkg-gencontrol reports:

dpkg-gencontrol: warning: Depends field of package asymptote-x11: substitution
variable ${python3:Depends} used, but is not defined.

The python related BD's of the source package are dh-python & python3.
I replaced the "#!/usr/bin/env python3" shebang in the script by
"#!/usr/bin/python3", but this did not solve the issue.

What am I missing? Many thanks!

Hilmar

Attachment: signature.asc
Description: PGP signature


Reply to: