pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-MooseX-FollowPBP Added devel/p5-MooseX-Follow...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfe767ce0ed6
branches:  trunk
changeset: 575549:cfe767ce0ed6
user:      abs <abs%pkgsrc.org@localhost>
date:      Sun May 16 12:31:31 2010 +0000

description:
Added devel/p5-MooseX-FollowPBP version 0.02

This module does not provide any methods. Simply loading it changes
the default naming policy for the loading class so that accessors
are separated into get and set methods. The get methods are prefixed
with "get_" as the accessor, while set methods are prefixed with
"set_". This is the naming style recommended by Damian Conway in
Perl Best Practices.

If you define an attribute with a leading underscore, then both the
get and set method will also have an underscore prefix.

If you explicitly set a "reader" or "writer" name when creating an
attribute, then that attribute's naming scheme is left unchanged.

diffstat:

 devel/p5-MooseX-FollowPBP/DESCR    |  12 ++++++++++++
 devel/p5-MooseX-FollowPBP/Makefile |  23 +++++++++++++++++++++++
 devel/p5-MooseX-FollowPBP/distinfo |   5 +++++
 3 files changed, 40 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r ccb346ebd218 -r cfe767ce0ed6 devel/p5-MooseX-FollowPBP/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-FollowPBP/DESCR   Sun May 16 12:31:31 2010 +0000
@@ -0,0 +1,12 @@
+This module does not provide any methods. Simply loading it changes
+the default naming policy for the loading class so that accessors
+are separated into get and set methods. The get methods are prefixed
+with "get_" as the accessor, while set methods are prefixed with
+"set_". This is the naming style recommended by Damian Conway in
+Perl Best Practices.
+
+If you define an attribute with a leading underscore, then both the
+get and set method will also have an underscore prefix.
+
+If you explicitly set a "reader" or "writer" name when creating an
+attribute, then that attribute's naming scheme is left unchanged.
diff -r ccb346ebd218 -r cfe767ce0ed6 devel/p5-MooseX-FollowPBP/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-FollowPBP/Makefile        Sun May 16 12:31:31 2010 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/16 12:31:31 abs Exp $
+#
+
+DISTNAME=      MooseX-FollowPBP-0.02
+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-FollowPBP/
+COMMENT=       Name your accessors get_foo() and set_foo()
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Moose>=0.93:../../devel/p5-Moose
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/MooseX/FollowPBP/.packlist
+PERL5_MODULE_TYPE=     Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ccb346ebd218 -r cfe767ce0ed6 devel/p5-MooseX-FollowPBP/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-FollowPBP/distinfo        Sun May 16 12:31:31 2010 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/16 12:31:31 abs Exp $
+
+SHA1 (MooseX-FollowPBP-0.02.tar.gz) = 5ed4d9163460f8ebd5ce7d719cd8596823b03d0f
+RMD160 (MooseX-FollowPBP-0.02.tar.gz) = 805930d50c0ca52fa0c6241e1c83684872b49cc6
+Size (MooseX-FollowPBP-0.02.tar.gz) = 4472 bytes



Home | Main Index | Thread Index | Old Index