Bug#548367: dh-make-perl: Detecting alternative dependencies

Slaven Rezic slaven at rezic.de
Fri Sep 25 20:34:10 UTC 2009


Package: dh-make-perl
Version: 0.47
Severity: wishlist

It seems to me that dh-make-perl could detect alternative dependencies in
a better way. Currently it seems that it picks one by random. For example

$ dh-make-perl --build --cpan GD::SVG; dpkg --info
libgd-svg-perl_0.33-1_all.deb
...
Needs the following debian packages: libgd-gd2-noxpm-perl, libsvg-perl
...
 Depends: perl (>= 5.6.0-16), libgd-gd2-noxpm-perl, libsvg-perl

But libgd-gd2-noxpm-perl is not the only candidate satisfying the GD.pm
requirement:

$ apt-file search perl5/GD.pm
libgd-gd2-noxpm-perl: /usr/lib/perl5/GD.pm
libgd-gd2-perl: /usr/lib/perl5/GD.pm

So it would be nice if this could be automatically turned into something
like

    libgd-gd2-perl | libgd-gd2-noxpm-perl

Regards,
    Slaven

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make-perl depends on:
ii  debhelper                7.0.15          helper programs for debian/rules
ii  dpkg-dev                 1.14.25         Debian package development tools
ii  fakeroot                 1.11            Gives a fake root environment
ii  libemail-date-format-per 1.002-1         Module to generate RFC-2822-valid 
ii  libmodule-depends-perl   0.14-1          identify the dependencies of a dis
ii  libwww-mechanize-perl    1.34-2          Automate interaction with websites
ii  libyaml-perl             0.66-1          YAML Ain't Markup Language (tm)
ii  make                     3.81-5          The GNU version of the "make" util
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 
ii  perl-modules [libpod-par 5.10.0-19lenny2 Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                 2.1.5           APT package searching utility -- c
ii  perl-modules [libmodule- 5.10.0-19lenny2 Core Perl modules

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list