diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-07-19 16:06:03 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-07-19 16:06:03 +0000 |
commit | 163f029578810d2a903f051d21cb12f3ceb85f17 (patch) | |
tree | a6eccece983c4c08a878b02d0126462362adac1b /dev-perl/Class-MethodMaker | |
parent | add spaces (diff) | |
download | gentoo-2-163f029578810d2a903f051d21cb12f3ceb85f17.tar.gz gentoo-2-163f029578810d2a903f051d21cb12f3ceb85f17.tar.bz2 gentoo-2-163f029578810d2a903f051d21cb12f3ceb85f17.zip |
Just cleaning up this mornings mess
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-perl/Class-MethodMaker')
5 files changed, 5 insertions, 132 deletions
diff --git a/dev-perl/Class-MethodMaker/ChangeLog b/dev-perl/Class-MethodMaker/ChangeLog index 17b6ec68cb03..3906311dde2c 100644 --- a/dev-perl/Class-MethodMaker/ChangeLog +++ b/dev-perl/Class-MethodMaker/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-perl/Class-MethodMaker # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/ChangeLog,v 1.19 2005/07/19 13:12:31 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/ChangeLog,v 1.20 2005/07/19 16:06:03 mcummings Exp $ + + 19 Jul 2005; Michael Cummings <mcummings@gentoo.org> -files/0-signature.t, + -files/C-MM-Build.patch, -Class-MethodMaker-2.07.ebuild: + Just cleaning up this mornings mess *Class-MethodMaker-2.07-r2 (19 Jul 2005) diff --git a/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild b/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild deleted file mode 100644 index a2ee18a6597b..000000000000 --- a/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild,v 1.2 2005/07/19 11:21:39 mcummings Exp $ - -inherit perl-module eutils - -DESCRIPTION="Perl module for Class::MethodMaker" -HOMEPAGE="http://search.cpan.org/~fluffy/${MY_P}" -SRC_URI="mirror://cpan/authors/id/F/FL/FLUFFY/${P}.tar.gz" - - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" -IUSE="" - -SRC_TEST="do" - -DEPEND="dev-perl/module-build" - -src_unpack() { - unpack ${A} - cd ${S} - # Correct bad Build.PL so that libs are found correctly for building - - # mcummings - epatch ${FILESDIR}/C-MM-Build.patch - # Wipe the signature file - we no longer match since we 'tampered' with the - # Build.PL above - mcummings - cp -f ${FILESDIR}/0-signature.t ${S}/t/0-signature.t - -} diff --git a/dev-perl/Class-MethodMaker/files/0-signature.t b/dev-perl/Class-MethodMaker/files/0-signature.t deleted file mode 100644 index 85ba8559faa4..000000000000 --- a/dev-perl/Class-MethodMaker/files/0-signature.t +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/perl -use strict; -print "1..1\n"; - -print("ok 1 #skip", - "Skipping since we had to tamper with the Build.PL\n"); -exit(); -if ( ! eval { require Module::Signature; 1 } ) { - print("ok 1 # skip ", - "Next time around, consider install Module::Signature, ", - "# so you can verify the integrity of this distribution.\n"); -} elsif ( ! eval { require Socket; Socket::inet_aton('subkeys.pgp.net') } ) { - print "ok 1 # skip ", "Cannot connect to the keyserver\n"; -} else { - (Module::Signature::verify() == Module::Signature::SIGNATURE_OK()) - or print "not "; - print "ok 1 # Valid signature\n"; -} - diff --git a/dev-perl/Class-MethodMaker/files/C-MM-Build.patch b/dev-perl/Class-MethodMaker/files/C-MM-Build.patch deleted file mode 100644 index a9c3115f1586..000000000000 --- a/dev-perl/Class-MethodMaker/files/C-MM-Build.patch +++ /dev/null @@ -1,80 +0,0 @@ ---- Build.PL.orig 2005-07-19 06:55:12.000000000 -0400 -+++ Build.PL 2005-07-19 08:34:47.000000000 -0400 -@@ -1,9 +1,30 @@ --use Module::Build; --use File::Spec::Functions qw( catfile ); -+use File::Basename qw( basename ); -+use File::Find qw( find ); -+use File::Spec::Functions qw( catfile catdir ); -+use lib File::Spec->catdir('lib'); - --use lib '.'; -+use Module::Build; - use Generate qw( %GENERATE ); - -+use constant RAW_COMPS => map(join('.', basename($_, '.m'), 'pm'), -+ glob(catfile qw(components *.m))); -+use constant COMPONENTS => -+ +{map {catfile('components', join('.',basename($_,'.pm'),'m')) => -+ catfile(qw(MethodMaker), $_)} RAW_COMPS}; -+use constant OPTEXT => catfile qw( lib Class MethodMaker OptExt.pm ); -+ -+my %pm; -+find (sub { -+ $File::Find::prune = 1, return -+ if -d $_ and $_ eq 'CVS'; -+ return unless /\.pm$/; -+ (my $target = $File::Find::name) =~ s!^$File::Find::topdir/Class/MethodMaker/!!; -+ $target =~ s!^$File::Find::topdir/Class/!!; -+ next if ($target =~ m!/Class!); -+ $pm{$target} = $File::Find::name; -+ }, -+ 'lib'); -+ - my $class = Module::Build->subclass - ( - class => 'CMM::AutoSplit', -@@ -14,20 +35,20 @@ my $class = Module::Build->subclass - # Create blib/arch to keep blib.pm happy - my $blib = $self->blib; - $self->add_to_cleanup($blib); -- File::Path::mkpath( File::Spec->catdir($blib, 'arch') ); -+ File::Path::mkpath( File::Spec->catdir($blib, 'arch', 'lib') ); - - foreach my $element (@{$self->build_elements}) { - my $method = "process_${element}_files"; - $self->$method(); - } -- if ( my $autosplit = $self->autosplit ) { -- if ( ref $autosplit eq 'ARRAY' ) { -- $self->autosplit_file($_, $blib) -- for @$autosplit; -- } else { -- $self->autosplit_file($autosplit, $blib); -- } -- } -+ if ( my $autosplit = $self->autosplit ) { -+ if ( ref $autosplit eq 'ARRAY' ) { -+ $self->autosplit_file($_, $blib) -+ for @$autosplit; -+ } else { -+ $self->autosplit_file($autosplit, $blib); -+ } -+ } - } - }, - ); -@@ -40,9 +61,10 @@ my $build = $class->new( - sign => 1, - dist_author => 'Martyn J. Pearce <fluffy@cpan.org>', - dist_abstract => 'create generic class accessor methods', -- PL_files => +{ 'generate.PL', [ values %GENERATE ] }, -- autosplit => [ values %GENERATE, -- catfile(qw(lib Class MethodMaker Engine.pm )) ], -+ PL_files => { 'generate.PL', [ values %GENERATE ] }, -+ pm_files => %pm, -+ autosplit => [ values %GENERATE, -+ catfile(qw(lib Class MethodMaker Engine.pm )) ], - xs_files => +{ 'MethodMaker.xs' => 'lib/Class/MethodMaker.xs' }, - ); - diff --git a/dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07 b/dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07 deleted file mode 100644 index a18510615e19..000000000000 --- a/dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07 +++ /dev/null @@ -1 +0,0 @@ -MD5 fe65529977de6a7ccac86c00ac1f8f1f Class-MethodMaker-2.07.tar.gz 88752 |