App::Magpie - Mageia Perl Integration Easy
version 1.110471
CPAN holds a lot of great modules - but it can be difficult for the user to install if she's not familiar with the process. Therefore, Linux distribution usually package quite a lot of them, for them to be easily installable.
Mageia Linux is no exception, and ships more than 2500 packages holding Perl distributions (at the time of writing). Maintaining those packages is a daunting task - and cannot be done only by hand.
This distribution is therefore a set of scripts helping maintaining Perl packages within Mageia. They can be somehow coupled or used independently.
Even if they are Mageia-centered, and Perl-centered, some of those tools can be used also by to maintain non-Perl packages, or by other Linux distributions than Mageia. I'd like to hear from you in this case! :-)
The Log::Dispatchouli object used for logging.
$magpie->log( ... ); $magpie->log_debug( ... ); $magpie->log_fatal( ... );
Log stuff at various verbose levels. Uses Log::Dispatchouli underneath - refer to this module for more information.
my $sleep = $magpie->bswait( $opts );
Check Mageia build-system and fetch the wait hint. Sleep according to this hint, unless $opts->{nosleep} is true.
Return the number of recommended number of seconds to sleep.
my $pkgdir = $magpie->checkout( $pkg [, $directory] );
Check out $pkg under $directory (or current directory if no directory specified). Refresh the checkout if it already exists.
$pkg
$directory
Return the directory in which the checkout is located.
$magpie->fixspec;
Fix the spec file to match a set of rules. Make sure buildrequires are correct.
$magpie->update;
Try to update the current checked-out package to its latest version, if there's one available.
You can find more information on this module at:
Search CPAN
http://search.cpan.org/dist/App-Magpie
See open / report bugs
http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Magpie
Git repository
http://github.com/jquelin/app-magpie
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/App-Magpie
CPAN Ratings
http://cpanratings.perl.org/d/App-Magpie
Jerome Quelin <jquelin@gmail.com>
This software is copyright (c) 2011 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Magpie
CPAN shell
perl -MCPAN -e shell install App::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.