mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
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, ...).
This commit is contained in:
parent
fe2d21704c
commit
90fa387e9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264865
@ -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
|
||||
|
28
databases/p5-DBIx-Class-MooseColumns/Makefile
Normal file
28
databases/p5-DBIx-Class-MooseColumns/Makefile
Normal file
@ -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>
|
2
databases/p5-DBIx-Class-MooseColumns/distinfo
Normal file
2
databases/p5-DBIx-Class-MooseColumns/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (DBIx-Class-MooseColumns-0.15.tar.gz) = df45043974f1efdb47583e9a43213434a3cc9a0c04c27fe66d455574f13b3030
|
||||
SIZE (DBIx-Class-MooseColumns-0.15.tar.gz) = 35717
|
9
databases/p5-DBIx-Class-MooseColumns/pkg-descr
Normal file
9
databases/p5-DBIx-Class-MooseColumns/pkg-descr
Normal file
@ -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/
|
15
databases/p5-DBIx-Class-MooseColumns/pkg-plist
Normal file
15
databases/p5-DBIx-Class-MooseColumns/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user