- Add p5-Test-Trap 0.2.1
Test::Trap 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. WWW: http://search.cpan.org/dist/Test-Trap/
This commit is contained in:
parent
4769c4d06e
commit
3e4882176a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281553
5 changed files with 65 additions and 0 deletions
|
@ -2428,6 +2428,7 @@
|
|||
SUBDIR += p5-Test-Taint
|
||||
SUBDIR += p5-Test-TempDir
|
||||
SUBDIR += p5-Test-Tester
|
||||
SUBDIR += p5-Test-Trap
|
||||
SUBDIR += p5-Test-Unit
|
||||
SUBDIR += p5-Test-UseAllModules
|
||||
SUBDIR += p5-Test-WWW-Declare
|
||||
|
|
42
devel/p5-Test-Trap/Makefile
Normal file
42
devel/p5-Test-Trap/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
|||
# New ports collection makefile for: p5-Test-Trap
|
||||
# Date created: 2011-09-10
|
||||
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Test-Trap
|
||||
PORTVERSION= 0.2.1
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Trap exit codes, exceptions, output, etc
|
||||
|
||||
BUILD_DEPENDS= p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump
|
||||
RUN_DEPENDS= p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump
|
||||
|
||||
TEST_DEPENDS= p5-Test-Tester>=0.10.7:${PORTSDIR}/devel/p5-Test-Tester
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Test::Trap.3 \
|
||||
Test::Trap::Builder.3 \
|
||||
Test::Trap::Builder::PerlIO.3 \
|
||||
Test::Trap::Builder::SystemSafe.3 \
|
||||
Test::Trap::Builder::TempFile.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 501000
|
||||
BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
|
||||
RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
|
||||
.endif
|
||||
|
||||
#.if ${PERL_LEVEL} < 501200
|
||||
#BUILD_DEPENDS+= p5-Module-Build>=0.3500:${PORTSDIR}/devel/p5-Module-Build
|
||||
#.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/p5-Test-Trap/distinfo
Normal file
2
devel/p5-Test-Trap/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Test-Trap-v0.2.1.tar.gz) = 944a1cfdecdde0715f584fd8f05635a29b9a45a9277ffd271d8c5ddc5b1f13db
|
||||
SIZE (Test-Trap-v0.2.1.tar.gz) = 45622
|
9
devel/p5-Test-Trap/pkg-descr
Normal file
9
devel/p5-Test-Trap/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
Test::Trap 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.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Test-Trap/
|
11
devel/p5-Test-Trap/pkg-plist
Normal file
11
devel/p5-Test-Trap/pkg-plist
Normal file
|
@ -0,0 +1,11 @@
|
|||
%%SITE_PERL%%/Test/Trap.pm
|
||||
%%SITE_PERL%%/Test/Trap/Builder.pm
|
||||
%%SITE_PERL%%/Test/Trap/Builder/PerlIO.pm
|
||||
%%SITE_PERL%%/Test/Trap/Builder/SystemSafe.pm
|
||||
%%SITE_PERL%%/Test/Trap/Builder/TempFile.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Trap/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Trap
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
|
||||
@dirrm %%SITE_PERL%%/Test/Trap/Builder
|
||||
@dirrm %%SITE_PERL%%/Test/Trap
|
||||
@dirrmtry %%SITE_PERL%%/Test
|
Loading…
Reference in a new issue