summaryrefslogtreecommitdiff
path: root/devel/p5-Params-Validate
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2002-01-18 22:05:41 +0000
committermjl <mjl@pkgsrc.org>2002-01-18 22:05:41 +0000
commitdc25279beca6e62f9fa555bf5839e7f5a47e9883 (patch)
tree28c9f1b385be428f7240c6437311dd0374dec8c0 /devel/p5-Params-Validate
parent993c9c0e8697bd2eaf53fff2a66a66a22a57e683 (diff)
downloadpkgsrc-dc25279beca6e62f9fa555bf5839e7f5a47e9883.tar.gz
Update p5-Params-Validate to 0.11
- The 'NO_VALIDATION' mode was seriously broken in that it didn't handle defaults at all. - The 'NO_VALIDATION' env var was mis-documented as being 'NO_VALIDATE'. - The 'NO_VALIDATION' env var is now 'PERL_NO_VALIDATION' and this method of disabling validation is no longer considered alpha. - The validation functions now check this environment variable every time they are called. - Fix problem with CPAN shell's 'r' command that Attribute::Params::Validate was causing with older Perl's. - Add ability to specify defaults for parameters and get a new hash/array back from validate or validate_pos. - Require Attribute::Handlers if using Perl 5.6.0+. - fix doc nits. - Added Attribute::Params::Validate - do validation via attributes - Rename set_options to validation_options. This can now be exported safely and is included in the :all export tag. set_options is deprecated and will be removed in a future release. Also fixes PR/15225 by Shell Hung.
Diffstat (limited to 'devel/p5-Params-Validate')
-rw-r--r--devel/p5-Params-Validate/Makefile6
-rw-r--r--devel/p5-Params-Validate/distinfo6
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile
index bccfbdfe9a6..c13d9d028c2 100644
--- a/devel/p5-Params-Validate/Makefile
+++ b/devel/p5-Params-Validate/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2001/11/26 06:49:53 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2002/01/18 22:05:41 mjl Exp $
-DISTNAME= Params-Validate-0.04
+DISTNAME= Params-Validate-0.11
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5pva
CATEGORIES= devel perl5
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DR/DROLSKY/}
MAINTAINER= packages@netbsd.org
COMMENT= Validate method/function parameters
+DEPENDS+= p5-Attribute-Handlers:../../devel/p5-Attribute-Handlers
+
USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Params/Validate/.packlist
diff --git a/devel/p5-Params-Validate/distinfo b/devel/p5-Params-Validate/distinfo
index c828b5928e3..459c73425fa 100644
--- a/devel/p5-Params-Validate/distinfo
+++ b/devel/p5-Params-Validate/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/05/22 16:55:51 mjl Exp $
+$NetBSD: distinfo,v 1.2 2002/01/18 22:05:41 mjl Exp $
-SHA1 (Params-Validate-0.04.tar.gz) = 5a4eae74984d3da33957b7a33b13e3290fa15f72
-Size (Params-Validate-0.04.tar.gz) = 10944 bytes
+SHA1 (Params-Validate-0.11.tar.gz) = 4712d79eb35e4a548ed052fbb4dfab70a78dc14b
+Size (Params-Validate-0.11.tar.gz) = 14474 bytes