1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Add p5-Test-Exception-LessClever 0.006

Test::Exception::LessClever is an alternative to Test::Exception that is much
simpler. This alternative does not use fancy stack tricks to hide itself. The
idea here is to keep it simple.  This also solves the Test::Exception bug where
some dies will be hidden when a DESTROY method calls eval. If a DESTROY method
masks $@ a warning will be generated as well.

WWW: http://search.cpan.org/dist/Test-Exception-LessClever/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-10-04 16:34:48 +00:00
parent 1c2bfce3a7
commit ba6704290b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282929
5 changed files with 44 additions and 0 deletions

View File

@ -2383,6 +2383,7 @@
SUBDIR += p5-Test-Distribution
SUBDIR += p5-Test-EOL
SUBDIR += p5-Test-Exception
SUBDIR += p5-Test-Exception-LessClever
SUBDIR += p5-Test-Expect
SUBDIR += p5-Test-Fatal
SUBDIR += p5-Test-File

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-Test-Exception-LessClever
# Date created: 2011-10-04
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-Exception-LessClever
PORTVERSION= 0.006
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Test::Exception simplified
BUILD_DEPENDS= p5-Mock-Quick>=1.100:${PORTSDIR}/devel/p5-Mock-Quick
RUN_DEPENDS= p5-Mock-Quick>=1.100:${PORTSDIR}/devel/p5-Mock-Quick
PERL_MODBUILD= yes
MAN3= Test::Exception::LessClever.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
BUILD_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Test-Exception-LessClever-0.006.tar.gz) = 350b6b698e0e441920a8b6f5b774eafb86eca7f29c80e61c6337c1b7ecedb4a2
SIZE (Test-Exception-LessClever-0.006.tar.gz) = 5327

View File

@ -0,0 +1,7 @@
Test::Exception::LessClever is an alternative to Test::Exception that is much
simpler. This alternative does not use fancy stack tricks to hide itself. The
idea here is to keep it simple. This also solves the Test::Exception bug where
some dies will be hidden when a DESTROY method calls eval. If a DESTROY method
masks $@ a warning will be generated as well.
WWW: http://search.cpan.org/dist/Test-Exception-LessClever/

View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/Test/Exception/LessClever.pm
@dirrmtry %%SITE_PERL%%/Test/Exception
@dirrmtry %%SITE_PERL%%/Test