ports/137142: New port: www/p5-CatalystX-Component-Traits

Bill Brinzer bill.brinzer at gmail.com
Sat Jul 25 23:30:01 UTC 2009


>Number:         137142
>Category:       ports
>Synopsis:       New port: www/p5-CatalystX-Component-Traits
>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:   Sat Jul 25 23:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bill Brinzer
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
Meyer & Associates, Inc.
>Environment:
System: FreeBSD water.mfrac.vpn 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #2: Fri Jun 26 14:13:57 EDT 2009 root at water.mfrac.vpn:/export/FreeBSD/7.x/obj/usr/src/sys/SMITHWICKS i386

>Description:
Adds a Catalyst::Component "COMPONENT" method to your Catalyst component base
class.  This method reads the optional traits parameter from app and component
config and instantiates the component subclass with those traits using
"new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.

Note: This port depends on the devel/p5-MooseX-Traits-Pluggable port which I've
just submitted (PR ports/137141). Also, it appears to be an unlisted dependency
of the recently updated www/p5-Catalyst-Model-DBIC-Schema 0.25.

>How-To-Repeat:
>Fix:

--- p5-CatalystX-Component-Traits.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-CatalystX-Component-Traits
#	p5-CatalystX-Component-Traits/Makefile
#	p5-CatalystX-Component-Traits/distinfo
#	p5-CatalystX-Component-Traits/pkg-descr
#	p5-CatalystX-Component-Traits/pkg-plist
#
echo c - p5-CatalystX-Component-Traits
mkdir -p p5-CatalystX-Component-Traits > /dev/null 2>&1
echo x - p5-CatalystX-Component-Traits/Makefile
sed 's/^X//' >p5-CatalystX-Component-Traits/Makefile << 'f3687f06e8ce36e17aec93b6d9a526e1'
X# New ports collection makefile for:	www/p5-CatalystX-Component-Traits
X# Date created:				25 July 2009
X# Whom:					Bill Brinzer <bill.brinzer at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	CatalystX-Component-Traits
XPORTVERSION=	0.06
XCATEGORIES=	www perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	../../authors/id/R/RK/RKITOVER/
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	bill.brinzer at gmail.com
XCOMMENT=	Automatic Trait Loading and Resolution for Catalyst Components
X
XBUILD_DEPENDS=	\
X	p5-Catalyst-Runtime>=5.80005:${PORTSDIR}/www/p5-Catalyst-Runtime \
X	p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
X	p5-Moose-Autobox>=0:${PORTSDIR}/devel/p5-Moose-Autobox \
X	p5-MooseX-Traits-Pluggable>=0.06:${PORTSDIR}/devel/p5-MooseX-Traits-Pluggable \
X	p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
XRUN_DEPENDS=	\
X	p5-Catalyst-Runtime>=5.80005:${PORTSDIR}/www/p5-Catalyst-Runtime \
X	p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
X	p5-Moose-Autobox>=0:${PORTSDIR}/devel/p5-Moose-Autobox \
X	p5-MooseX-Traits-Pluggable>=0.06:${PORTSDIR}/devel/p5-MooseX-Traits-Pluggable \
X	p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
X
XPERL_CONFIGURE=	5.8.1+
X
XMAN3=	CatalystX::Component::Traits.3
X
X.include <bsd.port.mk>
f3687f06e8ce36e17aec93b6d9a526e1
echo x - p5-CatalystX-Component-Traits/distinfo
sed 's/^X//' >p5-CatalystX-Component-Traits/distinfo << '8efac07c5d7e1cc7911323fdcd7295ce'
XMD5 (CatalystX-Component-Traits-0.06.tar.gz) = 4fca3636bf6a7e18ac55f23b2c890596
XSHA256 (CatalystX-Component-Traits-0.06.tar.gz) = 348911fcb915f8fb273a38035e6cb87f0429b391979bfbedb00247bd01ecb665
XSIZE (CatalystX-Component-Traits-0.06.tar.gz) = 25276
8efac07c5d7e1cc7911323fdcd7295ce
echo x - p5-CatalystX-Component-Traits/pkg-descr
sed 's/^X//' >p5-CatalystX-Component-Traits/pkg-descr << 'c2db70aa33f1fbcdb56eabc5a8b16fda'
XAdds a Catalyst::Component "COMPONENT" method to your Catalyst component base
Xclass.  This method reads the optional traits parameter from app and component
Xconfig and instantiates the component subclass with those traits using
X"new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.
X
XWWW: http://search.cpan.org/dist/CatalystX-Component-Traits/
c2db70aa33f1fbcdb56eabc5a8b16fda
echo x - p5-CatalystX-Component-Traits/pkg-plist
sed 's/^X//' >p5-CatalystX-Component-Traits/pkg-plist << '24a91d2c9d54662ac2f4b1abef952611'
X%%SITE_PERL%%/CatalystX/Component/Traits.pm
X%%SITE_PERL%%/mach/auto/CatalystX/Component/Traits/.packlist
X at dirrmtry %%SITE_PERL%%/mach/auto/CatalystX/Component/Traits
X at dirrmtry %%SITE_PERL%%/mach/auto/CatalystX/Component
X at dirrmtry %%SITE_PERL%%/mach/auto/CatalystX
X at dirrmtry %%SITE_PERL%%/CatalystX/Component
X at dirrmtry %%SITE_PERL%%/CatalystX
24a91d2c9d54662ac2f4b1abef952611
exit
--- p5-CatalystX-Component-Traits.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list