- Add p5-Params-Validate-Dependencies 1.12

Params::Validate::Dependencies extends Params::Validate's validate() function to
support an arbitrary number of callbacks which are not associated with any one
parameter. All of those callbacks are run after Params::Validate's normal
validate() function. If any of them return false, then validate() will die as
normal.

WWW: http://search.cpan.org/dist/Params-Validate-Dependencies/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-09-09 21:44:17 +00:00
parent 875c2ed049
commit 7d6450892f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281543
5 changed files with 53 additions and 0 deletions

View file

@ -2138,6 +2138,7 @@
SUBDIR += p5-Params-Coerce
SUBDIR += p5-Params-Util
SUBDIR += p5-Params-Validate
SUBDIR += p5-Params-Validate-Dependencies
SUBDIR += p5-Paranoid
SUBDIR += p5-Parse-CPAN-Meta
SUBDIR += p5-Parse-CPAN-Packages

View file

@ -0,0 +1,30 @@
# New ports collection makefile for: p5-Params-Validate-Dependencies
# Date created: 2011-09-10
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Params-Validate-Dependencies
PORTVERSION= 1.12
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Validate combinations of parameters
BUILD_DEPENDS= p5-Data-Domain>=0.13:${PORTSDIR}/devel/p5-Data-Domain \
p5-PadWalker>=1.90:${PORTSDIR}/devel/p5-PadWalker \
p5-Params-Validate>=0.91:${PORTSDIR}/devel/p5-Params-Validate
RUN_DEPENDS= p5-Data-Domain>=0.13:${PORTSDIR}/devel/p5-Data-Domain \
p5-PadWalker>=1.90:${PORTSDIR}/devel/p5-PadWalker \
p5-Params-Validate>=0.91:${PORTSDIR}/devel/p5-Params-Validate
PERL_CONFIGURE= yes
MAN3= Data::Domain::Dependencies.3 \
Params::Validate::Dependencies.3 \
Params::Validate::Dependencies::Extending.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Params-Validate-Dependencies-1.12.tar.gz) = c284b62c8a10173cc003f8e74db083f6e418e6262c005e20b87e7e73388d8e25
SIZE (Params-Validate-Dependencies-1.12.tar.gz) = 17717

View file

@ -0,0 +1,7 @@
Params::Validate::Dependencies extends Params::Validate's validate() function to
support an arbitrary number of callbacks which are not associated with any one
parameter. All of those callbacks are run after Params::Validate's normal
validate() function. If any of them return false, then validate() will die as
normal.
WWW: http://search.cpan.org/dist/Params-Validate-Dependencies/

View file

@ -0,0 +1,13 @@
%%SITE_PERL%%/Data/Domain/Dependencies.pm
%%SITE_PERL%%/Params/Validate/Dependencies.pm
%%SITE_PERL%%/Params/Validate/Dependencies/Documenter.pm
%%SITE_PERL%%/Params/Validate/Dependencies/Extending.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Validate/Dependencies/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Validate/Dependencies
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Validate
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Params
@dirrm %%SITE_PERL%%/Params/Validate/Dependencies
@dirrmtry %%SITE_PERL%%/Params/Validate
@dirrmtry %%SITE_PERL%%/Params
@dirrmtry %%SITE_PERL%%/Data/Domain
@dirrmtry %%SITE_PERL%%/Data