1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

This is a Moo extension. It allows another value for the is parameter to "has"

in Moo: "thunked". If used, this will allow you to transparently provide either
a real value for the attribute, or a "CodeLike" in Types::TypeTiny that when
called will return such a real value.

WWW: http://search.cpan.org/dist/MooX-Thunking/
This commit is contained in:
Wen Heping 2018-01-21 12:49:52 +00:00
parent 71fd7ed14e
commit 14996e001e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459603
5 changed files with 35 additions and 0 deletions

View File

@ -2926,6 +2926,7 @@
SUBDIR += p5-MooX-HandlesVia
SUBDIR += p5-MooX-Options
SUBDIR += p5-MooX-StrictConstructor
SUBDIR += p5-MooX-Thunking
SUBDIR += p5-MooX-TypeTiny
SUBDIR += p5-MooX-Types-MooseLike
SUBDIR += p5-MooX-Types-MooseLike-Numeric

View File

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= MooX-Thunking
PORTVERSION= 0.07
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= wen@FreeBSD.org
COMMENT= Allow Moo attributes to be thunked
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Moo>=0:devel/p5-Moo \
p5-Type-Tiny>=0:devel/p5-Type-Tiny
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1515339350
SHA256 (MooX-Thunking-0.07.tar.gz) = a2b83320bd639b27848b184cff6af3c113c016ecc3a3b1fd7f2b27452f6da83a
SIZE (MooX-Thunking-0.07.tar.gz) = 4000

View File

@ -0,0 +1,6 @@
This is a Moo extension. It allows another value for the is parameter to "has"
in Moo: "thunked". If used, this will allow you to transparently provide either
a real value for the attribute, or a "CodeLike" in Types::TypeTiny that when
called will return such a real value.
WWW: http://search.cpan.org/dist/MooX-Thunking/

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/MooX/Thunking.pm
%%PERL5_MAN3%%/MooX::Thunking.3.gz