Re: Bug#127581: CPAN.pm shell() debuild builtin command
On Wed, Jan 02, 2002 at 10:08:33PM -0800, Mark Glines wrote:
> Due to the existence of very convenient debianisation commands
> such as dh-make-perl and debuild, making a debian package from a
> perlmodule has become stupefyingly easy nowadays. However, it still
> requires you to "look Module::Name", and at the shell prompt run
> dh-make-perl and debuild. The horror, the humanity.
> I've added a "debuild" command to CPAN.pm, to further appease my
> increasingly lazy self. If running dh-make-perl succeeds, it runs
> debuild. If either fails, it should kick an appropriate warning.
> It SHOULD check whether the devscripts and dh-make-perl packages are
> installed beforehand. I don't know of a way to do this without
> running dpkg (and the processing overhead incurred from that), so
> that part is not yet implemented. However, it works without it.
> Please find attached my patch - do you feel this is the Right Way
> to do this?
Thanks for your contribution, and I'm sorry that it's languished
with no reply for so long.
I haven't reviewed your patch, but the functionality you describe is
basically sound. However, it should be integrated with the functionality
requested in <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504318>,
because we should be preferring already-existing Perl packages (of which
there are many more now than in 2002) over building our own.
CCing to debian-perl in case anyone has any interest in working on
this area, or indeed can tell me that there is a working version of
something similar somewhere that I don't know about.
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)