diff options
author | wiz <wiz@pkgsrc.org> | 2011-08-16 20:40:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-08-16 20:40:16 +0000 |
commit | 442962ff22cd66e59e46821efa2f7aa78ab30c5b (patch) | |
tree | 2ad9d6ea99ca1ab3cd67d4fb63b4830936ce3829 | |
parent | c0ddb064995858bd0827d7d72995fc752d86ee40 (diff) | |
download | pkgsrc-442962ff22cd66e59e46821efa2f7aa78ab30c5b.tar.gz |
Initial import of p5-Test-Trap-0.2.1.
This modules is primarily (but not exclusively) for use in test
scripts: A block eval on steroids, configurable and extensible,
but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions,
would-be exit codes, and return values from boxed blocks of test
code.
The values collected by the latest trap can then be queried or
tested through a special trap object.
-rw-r--r-- | devel/p5-Test-Trap/DESCR | 8 | ||||
-rw-r--r-- | devel/p5-Test-Trap/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Test-Trap/distinfo | 5 |
3 files changed, 34 insertions, 0 deletions
diff --git a/devel/p5-Test-Trap/DESCR b/devel/p5-Test-Trap/DESCR new file mode 100644 index 00000000000..291533eb531 --- /dev/null +++ b/devel/p5-Test-Trap/DESCR @@ -0,0 +1,8 @@ +This modules is primarily (but not exclusively) for use in test +scripts: A block eval on steroids, configurable and extensible, +but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, +would-be exit codes, and return values from boxed blocks of test +code. + +The values collected by the latest trap can then be queried or +tested through a special trap object. diff --git a/devel/p5-Test-Trap/Makefile b/devel/p5-Test-Trap/Makefile new file mode 100644 index 00000000000..b1f91db06ad --- /dev/null +++ b/devel/p5-Test-Trap/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/08/16 20:40:16 wiz Exp $ + +DISTNAME= Test-Trap-v0.2.1 +PKGNAME= p5-${DISTNAME:S/v0/0/} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Test-Trap/ +COMMENT= Perl extension to trap exit codes, exceptions, output +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump +DEPENDS+= p5-Test-Tester>=0.107:../../devel/p5-Test-Tester + +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_PACKLIST= auto/Test/Trap/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Test-Trap/distinfo b/devel/p5-Test-Trap/distinfo new file mode 100644 index 00000000000..f2cdbe4faab --- /dev/null +++ b/devel/p5-Test-Trap/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/08/16 20:40:16 wiz Exp $ + +SHA1 (Test-Trap-v0.2.1.tar.gz) = 70923189ccdf8cb1e4e1fe9565f7342016e1130f +RMD160 (Test-Trap-v0.2.1.tar.gz) = 059e9ac642eb1fee31aaa1829b60392fcf64d40f +Size (Test-Trap-v0.2.1.tar.gz) = 45622 bytes |