Package: dh-python
Version: 4.20201102
Severity: normal
Tags: patch

Hi,

dh-python does not properly handle build dependencies with the ":any" suffix.
This leads to a dependency like "python3-dev:any" not being recognized as a
python-dev build dependency in the python_dev_in_bd variable (file
dhpython/depends.py line 56).

I implemented a simple fix for this issue here:

https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/15

It basically just ignores the ":any" suffix when parsing the build
dependencies.

Thanks,
Maxi



-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-python depends on:
ii  python3            3.7.3-1
ii  python3-distutils  3.7.3-1

dh-python recommends no packages.

Versions of packages dh-python suggests:
ii  dpkg-dev      1.19.7
ii  libdpkg-perl  1.19.7

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to