NAME

CPANPLUS::Dist::Gentoo::Maps - Map CPAN distribution names, version numbers and license identifiers to their Gentoo counterparts.

VERSION

Version 0.12

DESCRIPTION

This is an helper package to CPANPLUS::Dist::Gentoo.

FUNCTIONS

name_c2g $name

Maps a CPAN distribution name to the corresponding Gentoo package name.

license_c2g @licenses

Maps META.yml license tag values to the corresponding list of Gentoo license identifiers. Duplicates are stripped off.

The included data was gathered from Module::Install and Software::License.

version_c2g $name, $version

Converts the $version of a CPAN distribution $name to a Gentoo version number.

perl_version_c2g $version

Converts a perl version number as you can find it in CPAN prerequisites to a Gentoo version number.

get_portage_timestamp $portage

Get the numerical timestamp associated with the portage tree located at $portage. Requires POSIX::strptime, and returns undef if it is not available.

TIMESTAMP

Numerical timestamp associated with the revision of the portage tree that was used for generating the corrections to the natural cpan-to-gentoo mapping listed in this module.

SEE ALSO

CPANPLUS::Dist::Gentoo.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Please report any bugs or feature requests to bug-cpanplus-dist-gentoo at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPANPLUS-Dist-Gentoo. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc CPANPLUS::Dist::Gentoo

COPYRIGHT & LICENSE

Copyright 2009,2010,2011,2012 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.