diff options
-rw-r--r-- | devel/p5-Test-Unit/Makefile | 9 | ||||
-rw-r--r-- | devel/p5-Test-Unit/distinfo | 7 | ||||
-rw-r--r-- | devel/p5-Test-Unit/patches/patch-aa | 28 |
3 files changed, 39 insertions, 5 deletions
diff --git a/devel/p5-Test-Unit/Makefile b/devel/p5-Test-Unit/Makefile index b5f0cf49a10..f9effbf1c2c 100644 --- a/devel/p5-Test-Unit/Makefile +++ b/devel/p5-Test-Unit/Makefile @@ -1,14 +1,19 @@ -# $NetBSD: Makefile,v 1.5 2004/11/30 10:50:14 cjs Exp $ +# $NetBSD: Makefile,v 1.6 2004/11/30 12:08:52 wiz Exp $ -DISTNAME= Test-Unit-0.14 +DISTNAME= Test-Unit-0.24 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5tun CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://cpan.uwinnipeg.ca/dist/Test-Unit COMMENT= Perl extension module for Unit Tests +DEPENDS+= p5-Class-Inner-[0-9]*:../../devel/p5-Class-Inner +DEPENDS+= p5-Devel-Symdump-[0-9]*:../../devel/p5-Devel-Symdump +DEPENDS+= p5-Error-[0-9]*:../../devel/p5-Error + PKG_INSTALLATION_TYPES= overwrite pkgviews USE_BUILDLINK3= YES diff --git a/devel/p5-Test-Unit/distinfo b/devel/p5-Test-Unit/distinfo index 3b33d6a6104..b6d1c2c76ce 100644 --- a/devel/p5-Test-Unit/distinfo +++ b/devel/p5-Test-Unit/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1 2002/03/07 12:10:29 cjs Exp $ +$NetBSD: distinfo,v 1.2 2004/11/30 12:08:52 wiz Exp $ -SHA1 (Test-Unit-0.14.tar.gz) = f0fd08ff4dec99d73b892152b1498dde19660eb3 -Size (Test-Unit-0.14.tar.gz) = 45591 bytes +SHA1 (Test-Unit-0.24.tar.gz) = 660bc7c2e6646fe5dfb64233f572de7d2491b1d5 +Size (Test-Unit-0.24.tar.gz) = 76044 bytes +SHA1 (patch-aa) = 90dd5e28c0af4fb936b753d11bb1879f71d1d182 diff --git a/devel/p5-Test-Unit/patches/patch-aa b/devel/p5-Test-Unit/patches/patch-aa new file mode 100644 index 00000000000..ed58d058ae6 --- /dev/null +++ b/devel/p5-Test-Unit/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 2004/11/30 12:08:52 wiz Exp $ + +Patch from + http://rt.cpan.org/NoAuth/Bug.html?id=2244 +with an additional fix (if .F match is first, it causes problem in timestamp +replacement). + +--- t/try_examples.t.orig 2001-12-11 16:17:11.000000000 +0100 ++++ t/try_examples.t +@@ -91,14 +91,14 @@ foreach my $e (@examples) { + $_ .= "\n" unless /\n$/; + # bin the naughty carriage returns + s/\r//g; ++ # hide things that look like CPU usage ++ s{Time:\s+[\d\.]+\s+wallclock secs \([\d\s\.]+usr\s+\+[\d\s\.]+sys\s+=[\d\s\.]+CPU\)} ++ {TIME-SUMMARY}g; + # we can't assume the order of tests will be the same +- s/^[\.F]+$/TEST-RUN-SUMMARY/sm; ++ s/^[.F]+/TEST-RUN-SUMMARY/sm; + s/::Load[0-9_]+Anonymous[0-9_]+/::LOAD_ANONYMOUS_CLASSNAME/; + # indent lines with '# ' so they're comments if the test fails + s/\n/\n# /g; +- # hide things that look like CPU usage +- s{Time:\s+[\d\.]+\s+wallclock secs \([\d\s\.]+usr\s+\+[\d\s\.]+sys\s+=[\d\s\.]+CPU\)} +- {TIME-SUMMARY}g; + } + ok($out, $guru_checked{$e}); + } else { |