From 4d951737d998795d0c9476b94ba88bcbc4e1866b Mon Sep 17 00:00:00 2001 From: sno Date: Tue, 7 Jul 2009 19:00:51 +0000 Subject: [PATCH] Importing package for p5 module CatalystX::Component::Traits version 0.03 as dependency of scheduled update of databases/p5-Catalyst-Model-DBIC-Schema. Adds a "COMPONENT" in Catalyst::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. --- www/p5-CatalystX-Component-Traits/DESCR | 4 ++++ www/p5-CatalystX-Component-Traits/Makefile | 26 ++++++++++++++++++++++ www/p5-CatalystX-Component-Traits/distinfo | 5 +++++ 3 files changed, 35 insertions(+) create mode 100644 www/p5-CatalystX-Component-Traits/DESCR create mode 100644 www/p5-CatalystX-Component-Traits/Makefile create mode 100644 www/p5-CatalystX-Component-Traits/distinfo diff --git a/www/p5-CatalystX-Component-Traits/DESCR b/www/p5-CatalystX-Component-Traits/DESCR new file mode 100644 index 000000000000..33c3306d3c58 --- /dev/null +++ b/www/p5-CatalystX-Component-Traits/DESCR @@ -0,0 +1,4 @@ +Adds a "COMPONENT" in Catalyst::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. diff --git a/www/p5-CatalystX-Component-Traits/Makefile b/www/p5-CatalystX-Component-Traits/Makefile new file mode 100644 index 000000000000..cb3f788b67a0 --- /dev/null +++ b/www/p5-CatalystX-Component-Traits/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/07 19:00:51 sno Exp $ + +DISTNAME= CatalystX-Component-Traits-0.03 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel www +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CatalystX/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/CatalystX-Component-Traits/ +COMMENT= Automatic Trait Loading and Resolution for Catalyst Components +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Catalyst-Runtime>=5.80005:../../www/p5-Catalyst-Runtime +DEPENDS+= p5-Moose-Autobox-[0-9]*:../../devel/p5-Moose-Autobox +DEPENDS+= p5-MooseX-Traits-Pluggable-[0-9]*:../../devel/p5-MooseX-Traits-Pluggable +DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean +DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/CatalystX/Component/Traits/.packlist +PERL5_MODULE_TYPE= Module::Install + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-CatalystX-Component-Traits/distinfo b/www/p5-CatalystX-Component-Traits/distinfo new file mode 100644 index 000000000000..e58753f09ab8 --- /dev/null +++ b/www/p5-CatalystX-Component-Traits/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/07/07 19:00:51 sno Exp $ + +SHA1 (CatalystX-Component-Traits-0.03.tar.gz) = 4d1463ee6ab73eb4af23b095b77e876a19c1787a +RMD160 (CatalystX-Component-Traits-0.03.tar.gz) = f22620c7f9d16b022f1f2085c5386ccffb7dd610 +Size (CatalystX-Component-Traits-0.03.tar.gz) = 23696 bytes