From: Vincent Pit Date: Sun, 25 Jan 2009 00:26:56 +0000 (+0100) Subject: This is 0.05 X-Git-Tag: v0.05^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=7aa1972cf85390e3b6432fe63d1120dbb5967fdd;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git This is 0.05 --- diff --git a/Changes b/Changes index 73d4742..b4e65fb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,19 @@ Revision history for CPANPLUS-Dist-Gentoo +0.05 2009-01-25 00:30 UTC + + Add : Many more gentooisms, and a script to generate them. + + Add : Get the default values of options from emerge --info's output: + - the overlay from PORTDIR_OVERLAY ; + - the keywords from ACCEPT_KEYWORDS ; + - the distdir from DISTDIR ; + - the main portage tree from PORTDIR. + + Chg : Search in the portage tree for the category (including virtuals) + each dependency belongs, and state it explictely in the ebuild's + DEPEND. This change was made necessary because portage recently + stopped accepting non-existent atoms in || ( ) constructs. + + Fix : Append our overlay to the ones specified in PORTDIR_OVERLAY (if + it's not listed yet) when running commands. + 0.04 2008-12-06 17:05 UTC This release was motivated by Kent Fredric's suggestions in RT #41483. Many thanks to him. diff --git a/META.yml b/META.yml index 34325c5..b439d71 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: CPANPLUS-Dist-Gentoo -version: 0.04 +version: 0.05 abstract: CPANPLUS backend generating Gentoo ebuilds. author: - Vincent Pit @@ -10,10 +10,12 @@ configure_requires: ExtUtils::MakeMaker: 0 requires: CPANPLUS: 0 + Cwd: 0 File::Copy: 0 File::Path: 0 File::Spec::Functions: 0 IPC::Cmd: 0 + version: 0 no_index: directory: - t diff --git a/README b/README index 013848e..a1127f6 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. VERSION - Version 0.04 + Version 0.05 SYNOPSIS cpan2dist --format=CPANPLUS::Dist::Gentoo \ @@ -20,12 +20,13 @@ DESCRPITON /usr/local/portage), updates the manifest, and even emerges it (together with its dependencies) if the user requires it. You need write permissions on the directory where Gentoo fetches its source files - (usually /usr/portage/distfiles). You also need to specify the correct - keyword for your architecture if it differs from the default "x86". + (usually /usr/portage/distfiles). The valid "KEYWORDS" for the generated + ebuilds are by default those given in "ACCEPT_KEYWORDS", but you can + specify your own with the "keywords" dist-option. The generated ebuilds are placed into the "perl-gcpanp" category. They - favour depending on "perl-core", "dev-perl" or "perl-gcpan" (in that - order) rather than "perl-gcpanp". + favour depending on a "virtual", on "perl-core", "dev-perl" or + "perl-gcpan" (in that order) rather than "perl-gcpanp". INSTALLATION After installing this module, you should append "perl-gcpanp" to your @@ -38,10 +39,10 @@ METHODS DEPENDENCIES Gentoo (). - CPANPLUS, IPC::Cmd (core modules since 5.9.5). + CPANPLUS, IPC::Cmd (core modules since 5.9.5), version (since 5.009). - File::Path (since 5.001), File::Copy (5.002), File::Spec::Functions - (5.00504). + Cwd (since perl 5) File::Path (5.001), File::Copy (5.002), + File::Spec::Functions (5.00504). SEE ALSO cpan2dist. @@ -72,7 +73,7 @@ ACKNOWLEDGEMENTS Kent Fredric, for testing and suggesting improvements. COPYRIGHT & LICENSE - Copyright 2008 Vincent Pit, all rights reserved. + Copyright 2008-2009 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. diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index e71c041..d40bf88 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -21,11 +21,11 @@ CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. =head1 VERSION -Version 0.04 +Version 0.05 =cut -our $VERSION = '0.04'; +our $VERSION = '0.05'; =head1 SYNOPSIS