pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Unit Update to 0.24:
details: https://anonhg.NetBSD.org/pkgsrc/rev/c2e6356c1f70
branches: trunk
changeset: 484846:c2e6356c1f70
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 30 12:08:52 2004 +0000
description:
Update to 0.24:
Lots of bugfixes.
diffstat:
devel/p5-Test-Unit/Makefile | 9 +++++++--
devel/p5-Test-Unit/distinfo | 7 ++++---
devel/p5-Test-Unit/patches/patch-aa | 28 ++++++++++++++++++++++++++++
3 files changed, 39 insertions(+), 5 deletions(-)
diffs (69 lines):
diff -r 51dd4272c653 -r c2e6356c1f70 devel/p5-Test-Unit/Makefile
--- a/devel/p5-Test-Unit/Makefile Tue Nov 30 11:32:59 2004 +0000
+++ b/devel/p5-Test-Unit/Makefile Tue Nov 30 12:08:52 2004 +0000
@@ -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@localhost
+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 -r 51dd4272c653 -r c2e6356c1f70 devel/p5-Test-Unit/distinfo
--- a/devel/p5-Test-Unit/distinfo Tue Nov 30 11:32:59 2004 +0000
+++ b/devel/p5-Test-Unit/distinfo Tue Nov 30 12:08:52 2004 +0000
@@ -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 -r 51dd4272c653 -r c2e6356c1f70 devel/p5-Test-Unit/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Unit/patches/patch-aa Tue Nov 30 12:08:52 2004 +0000
@@ -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 {
Home |
Main Index |
Thread Index |
Old Index