summaryrefslogtreecommitdiff
path: root/devel/p5-MooseX-Attributes-Curried
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2009-08-26 15:29:32 +0000
committerseb <seb@pkgsrc.org>2009-08-26 15:29:32 +0000
commitc7636f2ae5d01c1faf203e7f7a1aff10b30a5385 (patch)
tree4a9d940f633b63a238de2ecd5e1913b7483a0eb4 /devel/p5-MooseX-Attributes-Curried
parent6324331e8398e9cec8fc0d5f173679082bb436ad (diff)
downloadpkgsrc-c7636f2ae5d01c1faf203e7f7a1aff10b30a5385.tar.gz
Initial import of p5-MooseX-Attributes-Curried version 0.03 in the
NetBSD Packages Collection. The Perl 5 module MooseX::Attributes::Curried lets you define curried versions of "has" in Moose. If many of your attributes share the same options, especially across multiple classes, then you can refactor those options away into a curried has.
Diffstat (limited to 'devel/p5-MooseX-Attributes-Curried')
-rw-r--r--devel/p5-MooseX-Attributes-Curried/DESCR4
-rw-r--r--devel/p5-MooseX-Attributes-Curried/Makefile23
-rw-r--r--devel/p5-MooseX-Attributes-Curried/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-MooseX-Attributes-Curried/DESCR b/devel/p5-MooseX-Attributes-Curried/DESCR
new file mode 100644
index 00000000000..ff2e2733848
--- /dev/null
+++ b/devel/p5-MooseX-Attributes-Curried/DESCR
@@ -0,0 +1,4 @@
+The Perl 5 module MooseX::Attributes::Curried lets you define curried
+versions of "has" in Moose. If many of your attributes share the
+same options, especially across multiple classes, then you can
+refactor those options away into a curried has.
diff --git a/devel/p5-MooseX-Attributes-Curried/Makefile b/devel/p5-MooseX-Attributes-Curried/Makefile
new file mode 100644
index 00000000000..4101aa56601
--- /dev/null
+++ b/devel/p5-MooseX-Attributes-Curried/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/26 15:29:32 seb Exp $
+#
+
+DISTNAME= MooseX-Attributes-Curried-0.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MooseX/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/MooseX-Attributes-Curried/
+COMMENT= Perl 5 module to define curried versions of "has" in Moose
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/MooseX/Attributes/Curried/.packlist
+
+DEPENDS+= p5-Moose>=0.84:../../devel/p5-Moose
+DEPENDS+= p5-Sub-Exporter>=0.01:../../devel/p5-Sub-Exporter
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MooseX-Attributes-Curried/distinfo b/devel/p5-MooseX-Attributes-Curried/distinfo
new file mode 100644
index 00000000000..5b2f0946db8
--- /dev/null
+++ b/devel/p5-MooseX-Attributes-Curried/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/26 15:29:32 seb Exp $
+
+SHA1 (MooseX-Attributes-Curried-0.03.tar.gz) = c9c7348c146c093e0cd4216f5382d893fdbc4ace
+RMD160 (MooseX-Attributes-Curried-0.03.tar.gz) = 6d0380fa83ec158148b191bdf59e9bbb4c7be549
+Size (MooseX-Attributes-Curried-0.03.tar.gz) = 18079 bytes