diff options
author | az <az@FreeBSD.org> | 2010-11-21 19:52:42 +0800 |
---|---|---|
committer | az <az@FreeBSD.org> | 2010-11-21 19:52:42 +0800 |
commit | dfb4e382b888eb5b021a551a014f6838b3869933 (patch) | |
tree | d6cde4d7ca80ce5993d8af276d88cddb2b049724 | |
parent | 79382bd2602ccc58449f61fadcabad9222db9f47 (diff) | |
download | freebsd-ports-graphics-dfb4e382b888eb5b021a551a014f6838b3869933.tar.gz freebsd-ports-graphics-dfb4e382b888eb5b021a551a014f6838b3869933.tar.zst freebsd-ports-graphics-dfb4e382b888eb5b021a551a014f6838b3869933.zip |
This module allows you to put the arguments to "add_column" in
DBIx::Class::ResultSource right into your attribute definitions and will
automatically call it when it finds an add_column attribute option. It also
replaces the DBIx::Class-generated accessor methods (these are
Class::Accessor::Grouped-generated accessor methods under the hood) with the
Moose-generated accessor methods so that you can use more of the wonderful
powers of Moose (eg. type constraints, triggers, ...).
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-MooseColumns/Makefile | 28 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-MooseColumns/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-MooseColumns/pkg-descr | 9 | ||||
-rw-r--r-- | databases/p5-DBIx-Class-MooseColumns/pkg-plist | 15 |
5 files changed, 55 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 7148a4a9763..3d1bcec0b83 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -342,6 +342,7 @@ SUBDIR += p5-DBIx-Class-InflateColumn-IP SUBDIR += p5-DBIx-Class-IntrospectableM2M SUBDIR += p5-DBIx-Class-Loader + SUBDIR += p5-DBIx-Class-MooseColumns SUBDIR += p5-DBIx-Class-QueryLog SUBDIR += p5-DBIx-Class-QueryProfiler SUBDIR += p5-DBIx-Class-ResultSet-HashRef diff --git a/databases/p5-DBIx-Class-MooseColumns/Makefile b/databases/p5-DBIx-Class-MooseColumns/Makefile new file mode 100644 index 00000000000..c84fc700513 --- /dev/null +++ b/databases/p5-DBIx-Class-MooseColumns/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: DBIx::Class::MooseColumns +# Date created: 2010-11-20 +# Whom: Andrej Zverev <az@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= DBIx-Class-MooseColumns +PORTVERSION= 0.15 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= az@FreeBSD.org +COMMENT= Allow write DBIC add_column definitions as attribute options + +RUN_DEPENDS= p5-Moose>=1.19:${PORTSDIR}/devel/p5-Moose \ + p5-namespace-autoclean>=0.09:${PORTSDIR}/devel/p5-namespace-autoclean + +PERL_CONFIGURE= 5.8.4+ + +MAN3= \ + DBIx::Class::MooseColumns.3 \ + DBIx::Class::MooseColumns::Meta::Role::Attribute.3 \ + DBIx::Class::MooseColumns::Meta::Role::Attribute::DBICColumn.3 \ + DBIx::Class::MooseColumns::Meta::Role::Attribute::DBICColumn::Inflated.3 + +.include <bsd.port.mk> diff --git a/databases/p5-DBIx-Class-MooseColumns/distinfo b/databases/p5-DBIx-Class-MooseColumns/distinfo new file mode 100644 index 00000000000..1a7b11e7197 --- /dev/null +++ b/databases/p5-DBIx-Class-MooseColumns/distinfo @@ -0,0 +1,2 @@ +SHA256 (DBIx-Class-MooseColumns-0.15.tar.gz) = df45043974f1efdb47583e9a43213434a3cc9a0c04c27fe66d455574f13b3030 +SIZE (DBIx-Class-MooseColumns-0.15.tar.gz) = 35717 diff --git a/databases/p5-DBIx-Class-MooseColumns/pkg-descr b/databases/p5-DBIx-Class-MooseColumns/pkg-descr new file mode 100644 index 00000000000..57d2be31bf9 --- /dev/null +++ b/databases/p5-DBIx-Class-MooseColumns/pkg-descr @@ -0,0 +1,9 @@ +This module allows you to put the arguments to "add_column" in +DBIx::Class::ResultSource right into your attribute definitions and will +automatically call it when it finds an add_column attribute option. It also +replaces the DBIx::Class-generated accessor methods (these are +Class::Accessor::Grouped-generated accessor methods under the hood) with the +Moose-generated accessor methods so that you can use more of the wonderful +powers of Moose (eg. type constraints, triggers, ...). + +WWW: http://search.cpan.org/dist/DBIx-Class-MooseColumns/ diff --git a/databases/p5-DBIx-Class-MooseColumns/pkg-plist b/databases/p5-DBIx-Class-MooseColumns/pkg-plist new file mode 100644 index 00000000000..fe00a7df11a --- /dev/null +++ b/databases/p5-DBIx-Class-MooseColumns/pkg-plist @@ -0,0 +1,15 @@ +%%SITE_PERL%%/DBIx/Class/MooseColumns/Meta/Role/Attribute/DBICColumn/Inflated.pm +%%SITE_PERL%%/DBIx/Class/MooseColumns/Meta/Role/Attribute/DBICColumn.pm +%%SITE_PERL%%/DBIx/Class/MooseColumns/Meta/Role/Attribute.pm +%%SITE_PERL%%/DBIx/Class/MooseColumns.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/MooseColumns/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/MooseColumns +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx +@dirrmtry %%SITE_PERL%%/DBIx/Class/MooseColumns/Meta/Role/Attribute/DBICColumn +@dirrmtry %%SITE_PERL%%/DBIx/Class/MooseColumns/Meta/Role/Attribute +@dirrmtry %%SITE_PERL%%/DBIx/Class/MooseColumns/Meta/Role +@dirrmtry %%SITE_PERL%%/DBIx/Class/MooseColumns/Meta +@dirrmtry %%SITE_PERL%%/DBIx/Class/MooseColumns +@dirrmtry %%SITE_PERL%%/DBIx/Class +@dirrmtry %%SITE_PERL%%/DBIx |