From: Vincent Pit Date: Fri, 4 Sep 2009 18:50:21 +0000 (+0200) Subject: This is 0.08 X-Git-Tag: v0.08^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=7278013a1296d32f2f2b4dc61d4463dc1ba30812;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git This is 0.08 --- diff --git a/Changes b/Changes index 1eb8d39..3bd217f 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,18 @@ Revision history for CPANPLUS-Dist-Gentoo +0.08 2009-09-04 18:50 UTC + + Add : Map licenses advertised in the DSLIP or the META file to their + Gentoo counterparts. + + Chg : CPANPLUS::Dist::Gentoo has much less public methods and imports. + + Chg : Don't generate a new ebuild if there's already one available at + prepare time (unless --force is used). + + Chg : Vast cleanup of the internals. + + Fix : Missing dependencies in generated ebuilds (since 0.06). + + Fix : Stop bailing out if a prerequisite couldn't have been found in + the module tree (such as Config). + + Fix : Allow ebuilds whose version is exactly the one required by the + dependency. This was really stupid of me to let this slip. + 0.07 2009-07-01 08:55 UTC + Upd : Update gentooisms. diff --git a/META.yml b/META.yml index 532c346..85e739c 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: CPANPLUS-Dist-Gentoo -version: 0.07 +version: 0.08 abstract: CPANPLUS backend generating Gentoo ebuilds. author: - Vincent Pit @@ -12,14 +12,17 @@ build_requires: ExtUtils::MakeMaker: 0 Test::More: 0 requires: - Carp: 0 - CPANPLUS: 0 - Cwd: 0 - File::Copy: 0 - File::Path: 0 - File::Spec::Functions: 0 - IPC::Cmd: 0 - perl: 5.006 + base: 0 + Carp: 0 + CPANPLUS: 0 + Cwd: 0 + File::Copy: 0 + File::Path: 0 + File::Spec: 0 + IPC::Cmd: 0 + List::Util: 0 + Parse::CPAN::Meta: 0 + perl: 5.006 resources: bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPANPLUS-Dist-Gentoo homepage: http://search.cpan.org/dist/CPANPLUS-Dist-Gentoo/ diff --git a/README b/README index 2d880bf..076666a 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. VERSION - Version 0.07 + Version 0.08 SYNOPSIS cpan2dist --format=CPANPLUS::Dist::Gentoo \ @@ -33,16 +33,30 @@ INSTALLATION /etc/portage/categories file. METHODS - All the methods are inherited from CPANPLUS::Dist::Base. Please refer to - its documentation for precise information on what's done at each step. + This module inherits all the methods from CPANPLUS::Dist::Base. Please + refer to its documentation for precise information on what's done at + each step. + + "intuit_license" + Returns an array reference to a list of Gentoo licences identifiers + under which the current distribution is released. + + "update_manifest" + Updates the Manifest file for the ebuild associated to the current dist + object. + + "ebuild_source" + Returns the source of the ebuild for the current dist object, or "undef" + when one of the dependencies couldn't be mapped to an existing ebuild. DEPENDENCIES Gentoo (). - CPANPLUS, IPC::Cmd (core modules since 5.9.5). + CPANPLUS, IPC::Cmd (core modules since 5.9.5), Parse::CPAN::Meta (since + 5.10.1). Cwd, Carp (since perl 5), File::Path (5.001), File::Copy (5.002), - File::Spec::Functions (5.00504). + File::Spec (5.00405), List::Util (5.007003). SEE ALSO cpan2dist. @@ -67,8 +81,7 @@ SUPPORT perldoc CPANPLUS::Dist::Gentoo ACKNOWLEDGEMENTS - The module is to some extend cargo-culted from CPANPLUS::Dist::Deb and - CPANPLUS::Dist::Mdv. + The module was inspired by CPANPLUS::Dist::Deb and CPANPLUS::Dist::Mdv. Kent Fredric, for testing and suggesting improvements. diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 404c575..7febab9 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -24,11 +24,11 @@ CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. =head1 VERSION -Version 0.07 +Version 0.08 =cut -our $VERSION = '0.07'; +our $VERSION = '0.08'; =head1 SYNOPSIS diff --git a/lib/CPANPLUS/Dist/Gentoo/Maps.pm b/lib/CPANPLUS/Dist/Gentoo/Maps.pm index 5ce9f7a..884b24f 100644 --- a/lib/CPANPLUS/Dist/Gentoo/Maps.pm +++ b/lib/CPANPLUS/Dist/Gentoo/Maps.pm @@ -9,11 +9,11 @@ CPANPLUS::Dist::Gentoo::Maps - Map CPAN objects to Gentoo and vice versa. =head1 VERSION -Version 0.07 +Version 0.08 =cut -our $VERSION = '0.07'; +our $VERSION = '0.08'; =head1 DESCRPITON