Package: dh-python
Version: 7.20260309
Severity: normal
X-Debbugs-Cc: [email protected]
Control: block 1072698 by -1


Hey,

Debhelper 14 uses automatic substvars usage for matching fields, so
dh_python3 should not result with an error, if it does not find any
${Python3:Depends} in d/control.

E: dh_python3 dh_python3:108: no package to act on (python3-foo or one
with ${python3:Depends} in Depends).

For dh_qmldeps I solved this by checking for the active debhelper compat
level and disable the check for the variable:

def active_compat_level:
https://salsa.debian.org/qt-kde-team/pkg-kde-tools/-/blob/master/pythonlib/pkgkde.py?ref_type=heads#L52

usage:
https://salsa.debian.org/qt-kde-team/pkg-kde-tools/-/blob/master/pythonlib/qmldeps.py?ref_type=heads#L396

regards,

hefee

-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.10+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-python depends on:
ii  python3  3.13.9-3

dh-python recommends no packages.

Versions of packages dh-python suggests:
ii  dpkg-dev           1.23.7
pn  flit               <none>
ii  libdpkg-perl       1.23.7
ii  python3-build      1.4.0-1
ii  python3-installer  1.0.0+dfsg1-1
ii  python3-wheel      0.46.3-2

-- no debconf information

Reply via email to