MooseX::Role::WithOverloading allows you to write a Moose::Role which

defines overloaded operators and allows those operator overloadings
to be composed into the classes/roles/instances it's compiled to,
while plain Moose::Roles would lose the overloading.

WWW: http://search.cpan.org/dist/MooseX-Role-WithOverloading/
This commit is contained in:
Wen Heping 2009-12-09 05:45:51 +00:00
parent ab9639e204
commit 2a797ab130
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245437
5 changed files with 75 additions and 0 deletions

View file

@ -1719,6 +1719,7 @@
SUBDIR += p5-MooseX-POE
SUBDIR += p5-MooseX-Params-Validate
SUBDIR += p5-MooseX-Role-Parameterized
SUBDIR += p5-MooseX-Role-WithOverloading
SUBDIR += p5-MooseX-SemiAffordanceAccessor
SUBDIR += p5-MooseX-SimpleConfig
SUBDIR += p5-MooseX-Singleton

View file

@ -0,0 +1,39 @@
# New ports collection makefile for: p5-MooseX-Role-WithOverloading
# Date created: 09 Dec, 2009
# Whom: Wen Heping <wen@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= MooseX-Role-WithOverloading
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= wen@FreeBSD.org
COMMENT= Roles which support overloading
BUILD_DEPENDS= p5-Moose>=0.78:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \
p5-aliased>=0:${PORTSDIR}/devel/p5-aliased \
p5-namespace-autoclean>=0.09:${PORTSDIR}/devel/p5-namespace-autoclean \
p5-namespace-clean>=0:${PORTSDIR}/devel/p5-namespace-clean
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= MooseX::Role::WithOverloading::Meta::Role::Application::ToRole.3 \
MooseX::Role::WithOverloading::Meta::Role::Composite.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::Composite::ToClass.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::FixOverloadedRefs.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::ToInstance.3 \
MooseX::Role::WithOverloading.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::Composite::ToRole.3 \
MooseX::Role::WithOverloading::Meta::Role.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::Composite.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::Composite::ToInstance.3 \
MooseX::Role::WithOverloading::Meta::Role::Application::ToClass.3 \
MooseX::Role::WithOverloading::Meta::Role::Application.3
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (MooseX-Role-WithOverloading-0.03.tar.gz) = c7878a4d65930a0a55f70a4136383805
SHA256 (MooseX-Role-WithOverloading-0.03.tar.gz) = fd291423ca434abc683fc0631abfbac6f01bcdbaa27d7c09113df0eb643b10bd
SIZE (MooseX-Role-WithOverloading-0.03.tar.gz) = 12487

View file

@ -0,0 +1,6 @@
MooseX::Role::WithOverloading allows you to write a Moose::Role which
defines overloaded operators and allows those operator overloadings
to be composed into the classes/roles/instances it's compiled to,
while plain Moose::Roles would lose the overloading.
WWW: http://search.cpan.org/dist/MooseX-Role-WithOverloading/

View file

@ -0,0 +1,26 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role/WithOverloading/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role/WithOverloading/WithOverloading.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role/WithOverloading/WithOverloading.so
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/Composite/ToClass.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/Composite/ToRole.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/Composite/ToInstance.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/ToRole.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/ToInstance.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/FixOverloadedRefs.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/Composite.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/ToClass.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Composite.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role.pm
%%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application/Composite
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role/Application
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta/Role
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading/Meta
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role/WithOverloading
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX/Role
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/MooseX
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role/WithOverloading
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto