Package: debhelper Version: 13.11.1 Severity: wishlist Hi,
In a dh helper, I needed to know if the current package had a specific Build-Depends. Many other helpers need to know that, so I can copy their own control file parser, or, a nicer solution would be that Debian::Debhelper::Dh_Lib exports its method to parse build-dependencies. Thanks for considering, Jérémy -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debhelper depends on: ii autotools-dev 20220109.1 ii dh-autoreconf 20 ii dh-strip-nondeterminism 1.13.0-2 ii dpkg 1.21.10 ii dpkg-dev 1.21.10 ii dwz 0.14+20220924-2 ii file 1:5.41-4 ii libdebhelper-perl 13.11.1 ii libdpkg-perl 1.21.10 ii man-db 2.11.1-1 ii perl 5.36.0-4 ii po-debconf 1.0.21+nmu1 debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 2.202204 -- no debconf information