This plugin makes it very easy to create Dancer2 applications that

interface with databases. It automatically exports the keyword `schema`
which returns a DBIx::Class::Schema object. You just need to configure
your database connection information. For performance, schema objects
are cached in memory and are lazy loaded the first time they are accessed.

WWW: https://github.com/ironcamel/Dancer2-Plugin-DBIC

PR:		193712
Submitted by:	Henk van Oers<hvo.pm@xs4all.nl>
This commit is contained in:
Wen Heping 2014-10-01 15:50:33 +00:00
parent c553ae6488
commit 64b717d8a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369733
5 changed files with 39 additions and 0 deletions

View file

@ -394,6 +394,7 @@
SUBDIR += p5-Dancer-Plugin-Database-Core
SUBDIR += p5-Dancer-Plugin-Redis
SUBDIR += p5-Dancer-Session-Memcached
SUBDIR += p5-Dancer2-Plugin-DBIC
SUBDIR += p5-Data-Page
SUBDIR += p5-Data-Pageset
SUBDIR += p5-Exception-Class-DBI

View file

@ -0,0 +1,24 @@
# Created by: <hvo.pm@xs4all.nl>
# $FreeBSD$
PORTNAME= Dancer2-Plugin-DBIC
PORTVERSION= 0.0006
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= hvo.pm@xs4all.nl
COMMENT= DBIx::Class interface for Dancer2 applications
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class\
p5-DBIx-Class-Schema-Loader>=0.07002:${PORTSDIR}/databases/p5-DBIx-Class-Schema-Loader\
p5-Dancer2>=0.150000:${PORTSDIR}/www/p5-Dancer2
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Dancer2-Plugin-DBIC-0.0006.tar.gz) = a2b7510f55b1356f77023b09b60b46ecf8a7f070e762be3869e09619a2bd3e45
SIZE (Dancer2-Plugin-DBIC-0.0006.tar.gz) = 16124

View file

@ -0,0 +1,7 @@
This plugin makes it very easy to create Dancer2 applications that
interface with databases. It automatically exports the keyword `schema`
which returns a DBIx::Class::Schema object. You just need to configure
your database connection information. For performance, schema objects
are cached in memory and are lazy loaded the first time they are accessed.
WWW: https://github.com/ironcamel/Dancer2-Plugin-DBIC

View file

@ -0,0 +1,5 @@
%%PERL5_MAN3%%/Dancer2::Plugin::DBIC.3.gz
%%SITE_PERL%%/Dancer2/Plugin/DBIC.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin/DBIC/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin/DBIC
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dancer2/Plugin