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:
parent
f6d3e134b2
commit
82b92aa53b
22
www/p5-CatalystX-Component-Traits/Makefile
Normal file
22
www/p5-CatalystX-Component-Traits/Makefile
Normal 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>
|
5
www/p5-CatalystX-Component-Traits/distinfo
Normal file
5
www/p5-CatalystX-Component-Traits/distinfo
Normal 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
|
4
www/p5-CatalystX-Component-Traits/pkg/DESCR
Normal file
4
www/p5-CatalystX-Component-Traits/pkg/DESCR
Normal 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.
|
5
www/p5-CatalystX-Component-Traits/pkg/PLIST
Normal file
5
www/p5-CatalystX-Component-Traits/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user