svn commit: r412195 - in head/devel: . p5-MooseX-Meta-TypeConstraint-Mooish
Lars Thegler
lth at FreeBSD.org
Wed Mar 30 20:54:35 UTC 2016
Author: lth
Date: Wed Mar 30 20:54:33 2016
New Revision: 412195
URL: https://svnweb.freebsd.org/changeset/ports/412195
Log:
Add p5-MooseX-Meta-TypeConstraint-Mooish 0.001, translate Moo-style
constraints to Moose-style.
Added:
head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/
head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/Makefile (contents, props changed)
head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/distinfo (contents, props changed)
head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/pkg-descr (contents, props changed)
head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Mar 30 20:34:42 2016 (r412194)
+++ head/devel/Makefile Wed Mar 30 20:54:33 2016 (r412195)
@@ -2724,6 +2724,7 @@
SUBDIR += p5-MooseX-Log-Log4perl
SUBDIR += p5-MooseX-MarkAsMethods
SUBDIR += p5-MooseX-Meta-TypeConstraint-ForceCoercion
+ SUBDIR += p5-MooseX-Meta-TypeConstraint-Mooish
SUBDIR += p5-MooseX-MetaDescription
SUBDIR += p5-MooseX-Method-Signatures
SUBDIR += p5-MooseX-MethodAttributes
Added: head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/Makefile Wed Mar 30 20:54:33 2016 (r412195)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= MooseX-Meta-TypeConstraint-Mooish
+PORTVERSION= 0.001
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth at FreeBSD.org
+COMMENT= Translate Moo-style constraints to Moose-style
+
+LICENSE= LGPL21
+
+BUILD_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
+ p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
+ p5-namespace-autoclean>=0.24:${PORTSDIR}/devel/p5-namespace-autoclean
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-CheckDeps>=0.010:${PORTSDIR}/devel/p5-Test-CheckDeps \
+ p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
+ p5-Test-Moose-More>=0.028:${PORTSDIR}/devel/p5-Test-Moose-More \
+ p5-aliased>=0:${PORTSDIR}/devel/p5-aliased
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/distinfo Wed Mar 30 20:54:33 2016 (r412195)
@@ -0,0 +1,2 @@
+SHA256 (MooseX-Meta-TypeConstraint-Mooish-0.001.tar.gz) = 48ce292333c4f151aead6b087cc0f82139fb003d7785dc4ad8b1181c692067ca
+SIZE (MooseX-Meta-TypeConstraint-Mooish-0.001.tar.gz) = 25545
Added: head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/pkg-descr Wed Mar 30 20:54:33 2016 (r412195)
@@ -0,0 +1,8 @@
+Moose type constraints are expected to return true if the value
+passes the constraint, and false otherwise; Moo "constraints", on
+the other hand, die if validation fails.
+
+This metaclass allows for Moo-style constraints; it will wrap them
+and translate their Moo into a dialect Moose understands.
+
+WWW: https://metacpan.org/release/MooseX-Meta-TypeConstraint-Mooish
Added: head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-MooseX-Meta-TypeConstraint-Mooish/pkg-plist Wed Mar 30 20:54:33 2016 (r412195)
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/MooseX/Meta/TypeConstraint/Mooish.pm
+%%SITE_PERL%%/MooseX/TraitFor/Meta/TypeConstraint/Mooish.pm
+%%PERL5_MAN3%%/MooseX::Meta::TypeConstraint::Mooish.3.gz
+%%PERL5_MAN3%%/MooseX::TraitFor::Meta::TypeConstraint::Mooish.3.gz
More information about the svn-ports-all
mailing list