Add p5-MooseX-Clone, fine grained cloning support for Moose objects.
Out of the box Moose only provides very barebones cloning support in order to maximize flexibility. This role provides a clone method that makes use of the low level cloning support already in Moose and adds selective deep cloning based on introspection on top of that. Attributes with the Clone trait will handle cloning of data within the object, typically delegating to the attribute value's own clone method. WWW: http://search.cpan.org/dist/MooseX-Clone/
This commit is contained in:
parent
7d96f3c485
commit
0b4126532b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219465
5 changed files with 59 additions and 0 deletions
|
@ -1482,6 +1482,7 @@
|
|||
SUBDIR += p5-MooseX-Async
|
||||
SUBDIR += p5-MooseX-AttributeHelpers
|
||||
SUBDIR += p5-MooseX-ClassAttribute
|
||||
SUBDIR += p5-MooseX-Clone
|
||||
SUBDIR += p5-MooseX-Daemonize
|
||||
SUBDIR += p5-MooseX-Getopt
|
||||
SUBDIR += p5-MooseX-IOC
|
||||
|
|
31
devel/p5-MooseX-Clone/Makefile
Normal file
31
devel/p5-MooseX-Clone/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# New ports collection makefile for: devel/p5-MooseX-Clone
|
||||
# Date created: 2008/08/30
|
||||
# Whom: chinsan
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= MooseX-Clone
|
||||
PORTVERSION= 0.03
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= chinsan@FreeBSD.org
|
||||
COMMENT= Fine grained cloning support for Moose objects
|
||||
|
||||
RUN_DEPENDS= p5-Moose>=0.45:${PORTSDIR}/devel/p5-Moose \
|
||||
p5-Data-Visitor>=0:${PORTSDIR}/devel/p5-Data-Visitor \
|
||||
p5-Hash-Util-FieldHash-Compat>=0:${PORTSDIR}/devel/p5-Hash-Util-FieldHash-Compat \
|
||||
p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok \
|
||||
p5-namespace-clean>=0:${PORTSDIR}/devel/p5-namespace-clean
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= 5.8.0+
|
||||
|
||||
MAN3= MooseX::Clone.3 \
|
||||
MooseX::Clone::Meta::Attribute::Trait::NoClone.3 \
|
||||
MooseX::Clone::Meta::Attribute::Trait::Copy.3 \
|
||||
MooseX::Clone::Meta::Attribute::Trait::Clone.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-MooseX-Clone/distinfo
Normal file
3
devel/p5-MooseX-Clone/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (MooseX-Clone-0.03.tar.gz) = 986675ecdf4d8041047130fe68db2f23
|
||||
SHA256 (MooseX-Clone-0.03.tar.gz) = b19bb475421bc4f22e526a4ef0e13a45ea600c22f4c226bcb89259370ddd0b3c
|
||||
SIZE (MooseX-Clone-0.03.tar.gz) = 6847
|
10
devel/p5-MooseX-Clone/pkg-descr
Normal file
10
devel/p5-MooseX-Clone/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
|||
Out of the box Moose only provides very barebones cloning support in order
|
||||
to maximize flexibility.
|
||||
|
||||
This role provides a clone method that makes use of the low level cloning
|
||||
support already in Moose and adds selective deep cloning based on
|
||||
introspection on top of that. Attributes with the Clone trait will handle
|
||||
cloning of data within the object, typically delegating to the attribute
|
||||
value's own clone method.
|
||||
|
||||
WWW: http://search.cpan.org/dist/MooseX-Clone/
|
14
devel/p5-MooseX-Clone/pkg-plist
Normal file
14
devel/p5-MooseX-Clone/pkg-plist
Normal file
|
@ -0,0 +1,14 @@
|
|||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Clone/.packlist
|
||||
%%SITE_PERL%%/MooseX/Clone.pm
|
||||
%%SITE_PERL%%/MooseX/Clone/Meta/Attribute/Trait/NoClone.pm
|
||||
%%SITE_PERL%%/MooseX/Clone/Meta/Attribute/Trait/Copy.pm
|
||||
%%SITE_PERL%%/MooseX/Clone/Meta/Attribute/Trait/Clone.pm
|
||||
%%SITE_PERL%%/MooseX/Clone/Meta/Attribute/Trait/Clone/Base.pm
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Clone
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/Clone/Meta/Attribute/Trait/Clone
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/Clone/Meta/Attribute/Trait
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/Clone/Meta/Attribute
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/Clone/Meta
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/Clone
|
||||
@dirrmtry %%SITE_PERL%%/MooseX
|
Loading…
Reference in a new issue