Bug#501688: Module::Install improvements with tests!
pjf at perltraining.com.au
Tue Nov 25 14:00:38 UTC 2008
Despite all my chatter, I have some real changes for dh-make-perl.
The attached patches:
* Avoids doing any work if we're being loaded as a library.
* Adds some simple tests for extracting names and versions from
Module::Install style makefiles.
* Adds tests for the above.
* Adds a trivial ./test command for running the (very small)
The patches are exported from git, so they retain meta info such as dates,
times, and commit messages. If you'd prefer combined mega-patch, let me know.
These patches assume the big perltidy change has already been applied. They
can also be extracted directly from the master branch of my git repo.
 Perl allows one to return() when code is being required, which makes
this a trivial one-line change, as opposed to having to wrap everything in a
 Since Module::Install always writes a META.yml when run by the module
author, this code will hopefully never be needed.
Paul Fenwick <pjf at perltraining.com.au> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia | Fax: +61 3 9354 2681
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20081126/c7806dea/attachment.bin
More information about the pkg-perl-maintainers