Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2013 16:53:17 +0400 (MSK)
From:      Anes Mukhametov <anes@anes.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/180310: New port: devel/p5-accessors-fast
Message-ID:  <201307051253.r65CrGXa008703@monitoring.rambler.ru>
Resent-Message-ID: <201307051300.r65D02aE066645@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180310
>Category:       ports
>Synopsis:       New port: devel/p5-accessors-fast
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 05 13:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Anes Mukhametov
>Release:        
>Organization:
>Environment:
>Description:
	New port: devel/p5-accessors-fast	
	This module was created as an alternative to use fields, and uses Class::Accessor::Fast as a base
	Creates accessors at compiletime
>How-To-Repeat:
>Fix:

--- p5-accessors-fast.shar begins here ---
# 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-accessors-fast
#	p5-accessors-fast/distinfo
#	p5-accessors-fast/Makefile
#	p5-accessors-fast/pkg-descr
#	p5-accessors-fast/pkg-plist
#
echo c - p5-accessors-fast
mkdir -p p5-accessors-fast > /dev/null 2>&1
echo x - p5-accessors-fast/distinfo
sed 's/^X//' >p5-accessors-fast/distinfo << '691ba7e4c8c1e9fc88af79cb16a9c734'
XSHA256 (accessors-fast-0.03.tar.gz) = be34064f45f5eb77ab26c27e864d669b590df692b2d36f050e5a83f61dd7c5ca
XSIZE (accessors-fast-0.03.tar.gz) = 23777
691ba7e4c8c1e9fc88af79cb16a9c734
echo x - p5-accessors-fast/Makefile
sed 's/^X//' >p5-accessors-fast/Makefile << 'd5ae596dfa9b05ca0cb3470b76697d09'
X# Created by: Anes Mukhametov <anes@anes.su>
X# $FreeBSD$
X
XPORTNAME=	accessors-fast
XPORTVERSION=	0.03
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	CPAN:MONS
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	anes@anes.su
XCOMMENT=	Wrap fastest Class::Accessor::* into pragma
X
XBUILD_DEPENDS=	p5-lib-abs>=0.90:${PORTSDIR}/devel/p5-lib-abs \
X		p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
X		p5-Class-Accessor-Fast-XS>=0:${PORTSDIR}/devel/p5-Class-Accessor-Fast-XS \
X		p5-constant-def>=0.01:${PORTSDIR}/devel/p5-constant-def \
X		p5-Class-C3>=0:${PORTSDIR}/devel/p5-Class-C3
XRUN_DEPENDS=	p5-Class-Accessor-Fast-XS>=0:${PORTSDIR}/devel/p5-Class-Accessor-Fast-XS \
X		p5-constant-def>=0.01:${PORTSDIR}/devel/p5-constant-def \
X		p5-Class-C3>=0:${PORTSDIR}/devel/p5-Class-C3
X
XPERL_CONFIGURE=	yes
X
XMAN3=	accessors::fast.3
X
X.include <bsd.port.mk>
d5ae596dfa9b05ca0cb3470b76697d09
echo x - p5-accessors-fast/pkg-descr
sed 's/^X//' >p5-accessors-fast/pkg-descr << '4eb1749293b2c70e6565d0a3acec2421'
XThis module was created as an alternative to use fields,
Xand uses Class::Accessor::Fast as a base
X
XCreates accessors at compiletime
X
XHave own default new method: it creates object as a blessed hash,
Xthen locks keys to defined field list, and invoke init.
XSo, recommended usage inside packages, is access by hash keys
X(it's 3 times faster then accessor). Since keys are locked,
Xyou will not suffer from autovivification. Public interface
Xrecommended to be documented as accessors.
X
XUses Class::C3
X
XWWW: http://search.cpan.org/dist/accessors-fast/
4eb1749293b2c70e6565d0a3acec2421
echo x - p5-accessors-fast/pkg-plist
sed 's/^X//' >p5-accessors-fast/pkg-plist << '28b2f434d736f886f3efe6572a3f5631'
X%%SITE_PERL%%/accessors/fast/tie.pm
X%%SITE_PERL%%/accessors/fast.pm
X%%SITE_PERL%%/accessors/cpants.pl
X%%SITE_PERL%%/mach/auto/accessors/fast/.packlist
X@dirrmtry %%SITE_PERL%%/accessors/fast
X@dirrmtry %%SITE_PERL%%/accessors
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/accessors/fast
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/accessors
28b2f434d736f886f3efe6572a3f5631
exit
--- p5-accessors-fast.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307051253.r65CrGXa008703>