From: Vincent Pit Date: Sat, 17 Apr 2010 14:25:37 +0000 (+0200) Subject: This is 0.10 X-Git-Tag: v0.10^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=77110d525f6b966b8f87c11669f177127e6930d9;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git This is 0.10 --- diff --git a/Changes b/Changes index 470dc95..cda7cff 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,13 @@ Revision history for CPANPLUS-Dist-Gentoo +0.10 2010-04-17 14:25 UTC + + Add : If a distribution specifies a dependency on a specific perl + version in its META file, the ebuild dependency on dev-lang/perl + will take it into account. + + Fix : Placeholders ebuilds are now deleted when an exception is thrown + or the build process is interrupted by Ctrl-C. + + Upd : Update gentooisms. + 0.09 2009-11-29 14:20 UTC + Add : A default header. + Add : Redundant dependencies are simplified to a minimal set. diff --git a/META.yml b/META.yml index 7adb85d..0cb6016 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: CPANPLUS-Dist-Gentoo -version: 0.09 +version: 0.10 abstract: CPANPLUS backend generating Gentoo ebuilds. author: - Vincent Pit @@ -44,7 +44,7 @@ no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.55_02 +generated_by: ExtUtils::MakeMaker version 6.56 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 diff --git a/README b/README index d62db4d..58485f0 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. VERSION - Version 0.09 + Version 0.10 SYNOPSIS cpan2dist --format=CPANPLUS::Dist::Gentoo \ @@ -46,21 +46,21 @@ INSTALLATION First, fetch tarballs for CPANPLUS and CPANPLUS::Dist::Gentoo : $ cd /tmp - $ wget http://search.cpan.org/CPAN/authors/id/K/KA/KANE/CPANPLUS-0.88.tar.gz - $ wget http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/CPANPLUS-Dist-Gentoo-0.09.tar.gz + $ wget http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-0.9003.tar.gz + $ wget http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/CPANPLUS-Dist-Gentoo-0.10.tar.gz Log in as root and unpack them in e.g. your home directory : # cd - # tar xzf /tmp/CPANPLUS-0.88.tar.gz - # tar xzf /tmp/CPANPLUS-Dist-Gentoo-0.09.tar.gz + # tar xzf /tmp/CPANPLUS-0.9003.tar.gz + # tar xzf /tmp/CPANPLUS-Dist-Gentoo-0.10.tar.gz Set up environment variables so that the toolchain is temporarily available : # export OLDPATH=$PATH - # export PATH=/root/CPANPLUS-0.88/bin:$PATH - # export PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.09/blib/lib:/root/CPANPLUS-0.88/lib:/root/CPANPLUS-0.88/inc/bundle + # export PATH=/root/CPANPLUS-0.9003/bin:$PATH + # export PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.10/blib/lib:/root/CPANPLUS-0.9003/lib:/root/CPANPLUS-0.9003/inc/bundle Make sure you don't have an old ".cpanplus" configuration visible : @@ -68,7 +68,7 @@ INSTALLATION Bootstrap CPANPLUS : - # cd /root/CPANPLUS-Dist-Gentoo-0.09 + # cd /root/CPANPLUS-Dist-Gentoo-0.10 # samples/g-cpanp CPANPLUS Reset the environment : @@ -93,7 +93,7 @@ INSTALLATION At this point, you can bootstrap CPANPLUS::Dist::Gentoo using the system CPANPLUS : - # PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.09/blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo + # PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.10/blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo # emerge -tv CPANPLUS-Dist-Gentoo METHODS @@ -101,6 +101,10 @@ METHODS refer to its documentation for precise information on what's done at each step. + "meta" + Returns the contents of the META.yml or META.json files as parsed by + Parse::CPAN::Meta. + "intuit_license" Returns an array reference to a list of Gentoo licences identifiers under which the current distribution is released. @@ -150,7 +154,7 @@ ACKNOWLEDGEMENTS Kent Fredric, for testing and suggesting improvements. COPYRIGHT & LICENSE - Copyright 2008-2009 Vincent Pit, all rights reserved. + Copyright 2008,2009,2010 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 b844c77..0003b36 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -26,11 +26,11 @@ CPANPLUS::Dist::Gentoo - CPANPLUS backend generating Gentoo ebuilds. =head1 VERSION -Version 0.09 +Version 0.10 =cut -our $VERSION = '0.09'; +our $VERSION = '0.10'; =head1 SYNOPSIS @@ -75,19 +75,19 @@ First, fetch tarballs for L and L : $ cd /tmp $ wget http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/CPANPLUS-0.9003.tar.gz - $ wget http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/CPANPLUS-Dist-Gentoo-0.09.tar.gz + $ wget http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/CPANPLUS-Dist-Gentoo-0.10.tar.gz Log in as root and unpack them in e.g. your home directory : # cd # tar xzf /tmp/CPANPLUS-0.9003.tar.gz - # tar xzf /tmp/CPANPLUS-Dist-Gentoo-0.09.tar.gz + # tar xzf /tmp/CPANPLUS-Dist-Gentoo-0.10.tar.gz Set up environment variables so that the toolchain is temporarily available : # export OLDPATH=$PATH # export PATH=/root/CPANPLUS-0.9003/bin:$PATH - # export PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.09/blib/lib:/root/CPANPLUS-0.9003/lib:/root/CPANPLUS-0.9003/inc/bundle + # export PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.10/blib/lib:/root/CPANPLUS-0.9003/lib:/root/CPANPLUS-0.9003/inc/bundle Make sure you don't have an old C<.cpanplus> configuration visible : @@ -95,7 +95,7 @@ Make sure you don't have an old C<.cpanplus> configuration visible : Bootstrap L : - # cd /root/CPANPLUS-Dist-Gentoo-0.09 + # cd /root/CPANPLUS-Dist-Gentoo-0.10 # samples/g-cpanp CPANPLUS Reset the environment : @@ -117,7 +117,7 @@ You may need to run each of these commands two times for them to succeed. At this point, you can bootstrap L using the system L : - # PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.09/blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo + # PERL5LIB=/root/CPANPLUS-Dist-Gentoo-0.10/blib/lib samples/g-cpanp CPANPLUS::Dist::Gentoo # emerge -tv CPANPLUS-Dist-Gentoo =back diff --git a/lib/CPANPLUS/Dist/Gentoo/Atom.pm b/lib/CPANPLUS/Dist/Gentoo/Atom.pm index b909730..565178e 100644 --- a/lib/CPANPLUS/Dist/Gentoo/Atom.pm +++ b/lib/CPANPLUS/Dist/Gentoo/Atom.pm @@ -9,11 +9,11 @@ CPANPLUS::Dist::Gentoo::Atom - Gentoo atom object. =head1 VERSION -Version 0.09 +Version 0.10 =cut -our $VERSION = '0.09'; +our $VERSION = '0.10'; =head1 DESCRIPTION diff --git a/lib/CPANPLUS/Dist/Gentoo/Guard.pm b/lib/CPANPLUS/Dist/Gentoo/Guard.pm index 87dbaa8..ea5bb0b 100644 --- a/lib/CPANPLUS/Dist/Gentoo/Guard.pm +++ b/lib/CPANPLUS/Dist/Gentoo/Guard.pm @@ -9,11 +9,11 @@ CPANPLUS::Dist::Gentoo::Guard - Scope guard object. =head1 VERSION -Version 0.09 +Version 0.10 =cut -our $VERSION = '0.09'; +our $VERSION = '0.10'; =head1 DESCRIPTION diff --git a/lib/CPANPLUS/Dist/Gentoo/Maps.pm b/lib/CPANPLUS/Dist/Gentoo/Maps.pm index fb42999..1aa7d85 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.09 +Version 0.10 =cut -our $VERSION = '0.09'; +our $VERSION = '0.10'; =head1 DESCRPITON diff --git a/lib/CPANPLUS/Dist/Gentoo/Version.pm b/lib/CPANPLUS/Dist/Gentoo/Version.pm index 819e7d6..b8e92c5 100644 --- a/lib/CPANPLUS/Dist/Gentoo/Version.pm +++ b/lib/CPANPLUS/Dist/Gentoo/Version.pm @@ -9,11 +9,11 @@ CPANPLUS::Dist::Gentoo::Version - Gentoo version object. =head1 VERSION -Version 0.09 +Version 0.10 =cut -our $VERSION = '0.09'; +our $VERSION = '0.10'; =head1 DESCRIPTION