Source: fwupd Version: 2.1.5-1 Severity: normal Tags: patch
Dear maintainers,according to Debian's Python Policy [1], the shebang in Python scripts shouldn't be "/usr/bin/env python3". dh_python3 (if used) automatically replaces it with /usr/bin/python3. So could you please add dh-python to Build-Depends, use ${python3:Depends} as a placeholder in Depends, and add "--with python3" to "dh @ --with gir" in debian/rules as well. It is also necessary to override the dh_python3 target because the scripts in the binary package fwupd-tests are installed to /usr/share/installed-tests/fwupd/ instead of /usr/share/fwupd/ which is why dh_python3 needs to be called twice, once for the binary package fwupd and once for fwupd-tests with the corresponding path.
I have prepared a patch for your convenience. Thank you in advance! Best regards, Thomas Uhle [1] https://www.debian.org/doc/packaging-manuals/python-policy/#interpreter-directive-shebang
use-dh_python3.diff.gz
Description: application/gzip

