update to version 0.83

This commit is contained in:
simon 2009-05-07 08:14:51 +00:00
parent fdc2d8f787
commit 2e71498880
4 changed files with 18 additions and 56 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2009/02/09 12:08:25 simon Exp $
# $OpenBSD: Makefile,v 1.7 2009/05/07 08:14:51 simon Exp $
SHARED_ONLY= Yes
COMMENT= meta object protocol for perl 5
MODULES= cpan
DISTNAME= Class-MOP-0.76
DISTNAME= Class-MOP-0.83
CATEGORIES= devel
# perl

View File

@ -1,5 +1,5 @@
MD5 (Class-MOP-0.76.tar.gz) = eeP02o+snSyWAXd753J5yg==
RMD160 (Class-MOP-0.76.tar.gz) = NVexK519YQNfpOxd1dlIXCseq3o=
SHA1 (Class-MOP-0.76.tar.gz) = wbR8kc2fbEFOigSfccOSgwIMSSY=
SHA256 (Class-MOP-0.76.tar.gz) = 3sfN7d7EQ/x+74IgUZiX7+sHnlZWURrcLqYB9D08ykM=
SIZE (Class-MOP-0.76.tar.gz) = 154409
MD5 (Class-MOP-0.83.tar.gz) = giFzUd3B758CMIxbdf+UQg==
RMD160 (Class-MOP-0.83.tar.gz) = 6vdpVGj2cu6urEfV/5ICbf1oFCg=
SHA1 (Class-MOP-0.83.tar.gz) = gZXfi5ghzZ+qQFW8/gA/dSunMM4=
SHA256 (Class-MOP-0.83.tar.gz) = LJjZCcMT2A8f5PYvO3XG0eomt0UtP0vp4bGGlVW8p7I=
SIZE (Class-MOP-0.83.tar.gz) = 171999

View File

@ -1,46 +0,0 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2009/02/09 12:08:25 simon Exp $
Avoid GNU make inference rules extension, from NetBSD (applied uptream
already).
--- Makefile.PL.orig Thu Jan 22 23:20:41 2009
+++ Makefile.PL Mon Feb 9 11:54:12 2009
@@ -130,9 +130,7 @@ sub is_maintainer {
sub get_pp_tests {
opendir my $dh, 't' or die "Cannot read t: $!";
- return map {
- File::Spec->catfile('t', "pp_${_}")
- } grep { $_ !~ /^99/ } grep {/^\d.+\.t$/} readdir $dh;
+ return grep { $_ !~ /^99/ } grep {/^\d.+\.t$/} readdir $dh;
}
# This is EUMM voodoo
@@ -149,9 +147,17 @@ sub init {
package MY;
sub postamble {
- my $pp_tests = join q{ }, ::get_pp_tests();
+ my @test_files = ::get_pp_tests();
+ my $pp_tests = join q{ }, map { File::Spec->catfile('t', "pp_${_}") } @test_files;
+ my @pp_test_targets = join qq{\n}, map {
+ my $source = File::Spec->catfile('t', ${_});
+ File::Spec->catfile('t', "pp_${_}") . q{: }
+ . qq{$source t/header_pp.inc\n\t}
+ . q{$(NOECHO) $(ABSPERLRUN) "-MExtUtils::Command" -e cat t/header_pp.inc }
+ . $source . q{ > $@} . qq{\n}
+ } @test_files;
my $test_dep = $::has_compiler && ::is_maintainer()
- ? 'pure_all :: pp_tests'
+ ? qq{pure_all :: pp_tests\n} . join qq{\n}, @pp_test_targets
: '';
return <<"EOM"
@@ -159,7 +165,5 @@ pp_tests: ${pp_tests}
${test_dep}
-t/pp_%: t/% t/header_pp.inc
-\t\$(NOECHO) \$(ABSPERLRUN) "-MExtUtils::Command" -e cat t/header_pp.inc \$< > \$@
EOM
}

View File

@ -1,16 +1,22 @@
@comment $OpenBSD: PLIST,v 1.2 2007/12/21 02:42:49 msf Exp $
@comment $OpenBSD: PLIST,v 1.3 2009/05/07 08:14:51 simon Exp $
${P5ARCH}/Class/
${P5ARCH}/Class/MOP/
${P5ARCH}/Class/MOP.pm
${P5ARCH}/Class/MOP/Attribute.pm
${P5ARCH}/Class/MOP/Class/
${P5ARCH}/Class/MOP/Class.pm
${P5ARCH}/Class/MOP/Immutable.pm
${P5ARCH}/Class/MOP/Class/Immutable/
${P5ARCH}/Class/MOP/Class/Immutable/Class/
${P5ARCH}/Class/MOP/Class/Immutable/Class/MOP/
${P5ARCH}/Class/MOP/Class/Immutable/Class/MOP/Class.pm
${P5ARCH}/Class/MOP/Class/Immutable/Trait.pm
${P5ARCH}/Class/MOP/Instance.pm
${P5ARCH}/Class/MOP/Method/
${P5ARCH}/Class/MOP/Method.pm
${P5ARCH}/Class/MOP/Method/Accessor.pm
${P5ARCH}/Class/MOP/Method/Constructor.pm
${P5ARCH}/Class/MOP/Method/Generated.pm
${P5ARCH}/Class/MOP/Method/Inlined.pm
${P5ARCH}/Class/MOP/Method/Wrapped.pm
${P5ARCH}/Class/MOP/Module.pm
${P5ARCH}/Class/MOP/Object.pm
@ -23,12 +29,14 @@ ${P5ARCH}/metaclass.pm
@man man/man3p/Class::MOP.3p
@man man/man3p/Class::MOP::Attribute.3p
@man man/man3p/Class::MOP::Class.3p
@man man/man3p/Class::MOP::Immutable.3p
@man man/man3p/Class::MOP::Class::Immutable::Class::MOP::Class.3p
@man man/man3p/Class::MOP::Class::Immutable::Trait.3p
@man man/man3p/Class::MOP::Instance.3p
@man man/man3p/Class::MOP::Method.3p
@man man/man3p/Class::MOP::Method::Accessor.3p
@man man/man3p/Class::MOP::Method::Constructor.3p
@man man/man3p/Class::MOP::Method::Generated.3p
@man man/man3p/Class::MOP::Method::Inlined.3p
@man man/man3p/Class::MOP::Method::Wrapped.3p
@man man/man3p/Class::MOP::Module.3p
@man man/man3p/Class::MOP::Object.3p