summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Trap
diff options
context:
space:
mode:
authorwiz <wiz>2011-08-16 20:40:16 +0000
committerwiz <wiz>2011-08-16 20:40:16 +0000
commitb47048d138fa032d77ec2abf2e2891cb6f2b1671 (patch)
tree2ad9d6ea99ca1ab3cd67d4fb63b4830936ce3829 /devel/p5-Test-Trap
parenta4a6d40c7e68c266ca623f0065481c4171803176 (diff)
downloadpkgsrc-b47048d138fa032d77ec2abf2e2891cb6f2b1671.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.
Diffstat (limited to 'devel/p5-Test-Trap')
-rw-r--r--devel/p5-Test-Trap/DESCR8
-rw-r--r--devel/p5-Test-Trap/Makefile21
-rw-r--r--devel/p5-Test-Trap/distinfo5
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