diff options
author | schmonz <schmonz@pkgsrc.org> | 2013-04-12 14:37:02 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2013-04-12 14:37:02 +0000 |
commit | 1ab2f61e26356f0905d3864c34b6ffbb4a2bdde5 (patch) | |
tree | 54276a34a116a071aee6860eb8b8d55498c05bd6 | |
parent | 60cd1d2656158336a3b6632e7e9034813b7ca0a2 (diff) | |
download | pkgsrc-1ab2f61e26356f0905d3864c34b6ffbb4a2bdde5.tar.gz |
Add p5-MouseX-NativeTraits.
While Mouse attributes provide a way to name your accessors, readers,
writers, clearers and predicates, MouseX::NativeTraits provides
commonly used attribute helper methods for more specific types of
data.
As seen in the "SYNOPSIS", you specify the data structure via the
traits parameter. These traits will be loaded automatically, so you
need not load MouseX::NativeTraits explicitly.
This extension is compatible with Moose native traits, although it
is not a part of Mouse core.
-rw-r--r-- | devel/p5-MouseX-NativeTraits/DESCR | 11 | ||||
-rw-r--r-- | devel/p5-MouseX-NativeTraits/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-MouseX-NativeTraits/distinfo | 5 |
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/p5-MouseX-NativeTraits/DESCR b/devel/p5-MouseX-NativeTraits/DESCR new file mode 100644 index 00000000000..c354c0feec1 --- /dev/null +++ b/devel/p5-MouseX-NativeTraits/DESCR @@ -0,0 +1,11 @@ +While Mouse attributes provide a way to name your accessors, readers, +writers, clearers and predicates, MouseX::NativeTraits provides +commonly used attribute helper methods for more specific types of +data. + +As seen in the "SYNOPSIS", you specify the data structure via the +traits parameter. These traits will be loaded automatically, so you +need not load MouseX::NativeTraits explicitly. + +This extension is compatible with Moose native traits, although it +is not a part of Mouse core. diff --git a/devel/p5-MouseX-NativeTraits/Makefile b/devel/p5-MouseX-NativeTraits/Makefile new file mode 100644 index 00000000000..0755fbb8655 --- /dev/null +++ b/devel/p5-MouseX-NativeTraits/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2013/04/12 14:37:02 schmonz Exp $ +# + +DISTNAME= MouseX-NativeTraits-1.09 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MouseX/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/MouseX-NativeTraits/ +COMMENT= Extend your attribute interfaces for Mouse +LICENSE= ${PERL5_LICENSE} + +PERL5_PACKLIST= auto/MouseX/NativeTraits/.packlist + +BUILD_DEPENDS+= p5-Any-Moose>=0.13:../../devel/p5-Any-Moose +BUILD_DEPENDS+= p5-Test-Fatal>=0.003:../../devel/p5-Test-Fatal + +DEPENDS+= p5-Mouse>=0.82:../../devel/p5-Mouse + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-MouseX-NativeTraits/distinfo b/devel/p5-MouseX-NativeTraits/distinfo new file mode 100644 index 00000000000..b9c28ba7756 --- /dev/null +++ b/devel/p5-MouseX-NativeTraits/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/04/12 14:37:02 schmonz Exp $ + +SHA1 (MouseX-NativeTraits-1.09.tar.gz) = 7464358bd249de15583099d0c28193573b1d9fc4 +RMD160 (MouseX-NativeTraits-1.09.tar.gz) = 7ca91f4ef97f0050bc77f57a9d020ce24db77e9f +Size (MouseX-NativeTraits-1.09.tar.gz) = 50322 bytes |