import www/p5-CatalystX-Component-Traits, ok landry, from Andreas Voegele's repo

Adds a "COMPONENT" method to your Catalyst component base class that
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.
This commit is contained in:
sthen 2012-04-08 21:06:25 +00:00
parent f6d3e134b2
commit 82b92aa53b
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/08 21:06:25 sthen Exp $
COMMENT = automatic trait loading and resolution
MODULES = cpan
DISTNAME = CatalystX-Component-Traits-0.16
CATEGORIES = www
# same as perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
RUN_DEPENDS = www/p5-Catalyst-Runtime \
devel/p5-List-MoreUtils \
devel/p5-MooseX-Traits-Pluggable \
devel/p5-namespace-autoclean
CONFIGURE_STYLE = modinst
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (CatalystX-Component-Traits-0.16.tar.gz) = cWUVap68eGFGxxDSk5+cBg==
RMD160 (CatalystX-Component-Traits-0.16.tar.gz) = iihJesQRELxkY7pg9oklVUO7+wE=
SHA1 (CatalystX-Component-Traits-0.16.tar.gz) = HtMTjTrqyLxep1OMr0Yrb1k/+4I=
SHA256 (CatalystX-Component-Traits-0.16.tar.gz) = JNcByiewgQVYhv9SznBq0FNCJq5IZyZcVxVPsJ+DVSg=
SIZE (CatalystX-Component-Traits-0.16.tar.gz) = 29505

View File

@ -0,0 +1,4 @@
Adds a "COMPONENT" method to your Catalyst component base class that
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.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/08 21:06:25 sthen Exp $
${P5SITE}/CatalystX/
${P5SITE}/CatalystX/Component/
${P5SITE}/CatalystX/Component/Traits.pm
@man man/man3p/CatalystX::Component::Traits.3p