MooseX::OneArgNew lets your constructor take a single argument,

which will be translated into the value for a one-entry hashref.

WWW: http://search.cpan.org/dist/MooseX-OneArgNew/

Submitted by:	Geraud CONTINSOUZAS <geraud@gcu.info> (by private mail)
This commit is contained in:
Baptiste Daroussin 2011-09-20 08:31:57 +00:00
parent a09895b0fd
commit 6bcaa90166
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282046
5 changed files with 41 additions and 0 deletions

View file

@ -2028,6 +2028,7 @@
SUBDIR += p5-MooseX-MultiMethods
SUBDIR += p5-MooseX-NonMoose
SUBDIR += p5-MooseX-Object-Pluggable
SUBDIR += p5-MooseX-OneArgNew
SUBDIR += p5-MooseX-POE
SUBDIR += p5-MooseX-Params-Validate
SUBDIR += p5-MooseX-RelatedClassRoles

View file

@ -0,0 +1,29 @@
# New ports collection makefile for: devel/p5-MooseX-OneArgNew
# Date created: 2011-09-19
# Whom: Geraud CONTINSOUZAS <geraud@gcu.info>
#
# $FreeBSD$
#
PORTNAME= MooseX-OneArgNew
PORTVERSION= 0.002
CATEGORIES= devel perl5
MASTER_SITES= CPAN
#MASTER_SITE_SUBDIR= CPAN:RJBS
PKGNAMEPREFIX= p5-
MAINTAINER= geraud@gcu.info
COMMENT= Teach ->new to accept single, non-hashref arguments
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
RUN_DEPENDS= p5-MooseX-Role-Parameterized>=0:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized \
p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
BUILD_DEPENDS:= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= MooseX::OneArgNew.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (MooseX-OneArgNew-0.002.tar.gz) = f548f03f36943c42dd704c2dca10b76718ef4642a44d8740f175e7a0031add71
SIZE (MooseX-OneArgNew-0.002.tar.gz) = 10909

View file

@ -0,0 +1,4 @@
MooseX::OneArgNew lets your constructor take a single argument,
which will be translated into the value for a one-entry hashref.
WWW: http://search.cpan.org/dist/MooseX-OneArgNew/

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/MooseX/OneArgNew.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/OneArgNew/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/OneArgNew
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
@dirrmtry %%SITE_PERL%%/MooseX