Bug#602059: dh-make-perl --cpan confuses module and distribution

Damyan Ivanov dmn at debian.org
Sat Dec 25 20:04:00 UTC 2010


retitle 602059 --cpan documented as taking a distribution name
clone 602059 -1
severity -1 wishlist
retitle -1 --cpan hould try to download CPAN distribution if no module by given name is found
thanks

-=| Nicholas Bamber, Mon, Nov 01, 2010 at 07:40:40AM +0000 |=-
> Package: dh-make-perl
> Version: 0.70-1
> Severity: minor
> 
> If you run dh-make-perl --closes ##### --pkg-perl --cpan
> Module::Starter::Plugin::SimpleStore it fails to find the module. You have to
> specify one of the component modules.

The argument to --cpan is a module name. dh-make-perl(1) says:

    dh-make-perl [make] {SOURCE_DIR | --cpan MODULE} options...

    … You can specify a module name with the --cpan switch and 
    dh-make-perl will download the module for you from a CPAN mirror, 
    or you can specify the directory with the already unpacked 
    sources.

Later on it says (apparently wrongly):

     --cpan DIST
           Instructs dh-make-perl to fetch and extract the given CPAN 
           distribution.

Big retitled.

Of course, falling back to CPAN distribution if module by that name 
can't be found would be useful too. Cloning another bugreport.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20101225/76ba06e1/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list