Date: Wed, 11 Aug 2010 14:44:58 +0200 (CEST) From: Frederic Culot <frederic@culot.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/149524: New port: devel/p5-MooseX-FollowPBP Name your accessors get_foo() and set_foo() Message-ID: <201008111244.o7BCiwNb051179@0xd0.org> Resent-Message-ID: <201008111250.o7BCo2Gx060343@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149524 >Category: ports >Synopsis: New port: devel/p5-MooseX-FollowPBP Name your accessors get_foo() and set_foo() >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 11 12:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Frederic Culot >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 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. This module is needed for updating biology/p5-Bio-MAGETAB. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-MooseX-FollowPBP # p5-MooseX-FollowPBP/pkg-descr # p5-MooseX-FollowPBP/distinfo # p5-MooseX-FollowPBP/Makefile # p5-MooseX-FollowPBP/pkg-plist # echo c - p5-MooseX-FollowPBP mkdir -p p5-MooseX-FollowPBP > /dev/null 2>&1 echo x - p5-MooseX-FollowPBP/pkg-descr sed 's/^X//' >p5-MooseX-FollowPBP/pkg-descr << 'e9457b6518dece6827c3037f020c4ff1' XThis module does not provide any methods. Simply loading it changes the Xdefault naming policy for the loading class so that accessors are Xseparated into get and set methods. The get methods are prefixed with X"get_" as the accessor, while set methods are prefixed with "set_". XThis is the naming style recommended by Damian Conway in Perl Best XPractices. X XWWW: http://search.cpan.org/dist/MooseX-FollowPBP/ e9457b6518dece6827c3037f020c4ff1 echo x - p5-MooseX-FollowPBP/distinfo sed 's/^X//' >p5-MooseX-FollowPBP/distinfo << '1f2a964739666d0b5d45f9f6515876de' XMD5 (MooseX-FollowPBP-0.04.tar.gz) = a569172bd49bb54c2f7814ec9497278e XSHA256 (MooseX-FollowPBP-0.04.tar.gz) = 858e9efd61c01ff93a33985d19d23edc0752ccb235e9920d3ae42237ca5ac848 XSIZE (MooseX-FollowPBP-0.04.tar.gz) = 8920 1f2a964739666d0b5d45f9f6515876de echo x - p5-MooseX-FollowPBP/Makefile sed 's/^X//' >p5-MooseX-FollowPBP/Makefile << '9786c66c32bb1333520f91242b88388a' X# New ports collection makefile for: p5-MooseX-FollowPBP X# Date created: 11 August 2010 X# Whom: Frederic Culot <frederic@culot.org> X# X# $FreeBSD$ X# X XPORTNAME= MooseX-FollowPBP XPORTVERSION= 0.04 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= frederic@culot.org XCOMMENT= Name your accessors get_foo() and set_foo() X XBUILD_DEPENDS= p5-Moose>=0.94:${PORTSDIR}/devel/p5-Moose XRUN_DEPENDS= ${BUILD_DEPENDS} X XLICENSE= ART20 X XPERL_CONFIGURE= yes X XMAN3= MooseX::FollowPBP.3 \ X MooseX::FollowPBP::Role::Attribute.3 X X.include <bsd.port.mk> 9786c66c32bb1333520f91242b88388a echo x - p5-MooseX-FollowPBP/pkg-plist sed 's/^X//' >p5-MooseX-FollowPBP/pkg-plist << 'a73f914e2741fc8fdd2ced9a8fc741e3' X%%SITE_PERL%%/MooseX/FollowPBP.pm X%%SITE_PERL%%/MooseX/FollowPBP/Role/Attribute.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/FollowPBP/.packlist X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/FollowPBP X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX X@dirrmtry %%SITE_PERL%%/MooseX/FollowPBP/Role X@dirrmtry %%SITE_PERL%%/MooseX/FollowPBP X@dirrmtry %%SITE_PERL%%/MooseX a73f914e2741fc8fdd2ced9a8fc741e3 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008111244.o7BCiwNb051179>