pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-MooseX-StrictConstructor Import p5-MooseX-Str...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71ac7dbcde9d
branches:  trunk
changeset: 552888:71ac7dbcde9d
user:      he <he%pkgsrc.org@localhost>
date:      Sun Jan 11 14:06:19 2009 +0000

description:
Import p5-MooseX-StrictConstructor version 0.07.

Simply loading this module makes your constructors "strict". If
your constructor is called with an attribute init argument that
your class does not declare, then it calls "Carp::confess()". This
is a great way to catch small typos.

diffstat:

 devel/p5-MooseX-StrictConstructor/DESCR    |   4 ++++
 devel/p5-MooseX-StrictConstructor/Makefile |  22 ++++++++++++++++++++++
 devel/p5-MooseX-StrictConstructor/distinfo |   5 +++++
 3 files changed, 31 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r 638f4f30d0f1 -r 71ac7dbcde9d devel/p5-MooseX-StrictConstructor/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-StrictConstructor/DESCR   Sun Jan 11 14:06:19 2009 +0000
@@ -0,0 +1,4 @@
+Simply loading this module makes your constructors "strict". If
+your constructor is called with an attribute init argument that
+your class does not declare, then it calls "Carp::confess()". This
+is a great way to catch small typos.
diff -r 638f4f30d0f1 -r 71ac7dbcde9d devel/p5-MooseX-StrictConstructor/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-StrictConstructor/Makefile        Sun Jan 11 14:06:19 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/11 14:06:19 he Exp $
+#
+
+DISTNAME=      MooseX-StrictConstructor-0.07
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=MooseX/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/MooseX-StrictConstructor/
+COMMENT=       Make your object constructors blow up on unknown attributes
+
+DEPENDS+=      p5-Moose>=0.56:../../devel/p5-Moose
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/MooseX/StrictConstructor/.packlist
+PERL5_MODULE_TYPE=     Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 638f4f30d0f1 -r 71ac7dbcde9d devel/p5-MooseX-StrictConstructor/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-StrictConstructor/distinfo        Sun Jan 11 14:06:19 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/11 14:06:19 he Exp $
+
+SHA1 (MooseX-StrictConstructor-0.07.tar.gz) = 1c0674c7c01bb240855bc10f334adcfa0104e0be
+RMD160 (MooseX-StrictConstructor-0.07.tar.gz) = deacb2e4b631d862725a079766b2971560595458
+Size (MooseX-StrictConstructor-0.07.tar.gz) = 5694 bytes



Home | Main Index | Thread Index | Old Index