summaryrefslogtreecommitdiff
path: root/devel/p5-MooseX-Types-Path-Class
diff options
context:
space:
mode:
authorhe <he>2009-01-11 13:27:28 +0000
committerhe <he>2009-01-11 13:27:28 +0000
commite22d7241bc7214c18a893cf93c14e898d9d539f5 (patch)
tree53d22c31bc4cdf867bc51c67ad57b7dfbd8fceb1 /devel/p5-MooseX-Types-Path-Class
parent08ac323e64b4250f1265532778e6bd2d61b14cba (diff)
downloadpkgsrc-e22d7241bc7214c18a893cf93c14e898d9d539f5.tar.gz
Import p5-MooseX-Types-Path-Class version 0.05.
MooseX::Types::Path::Class creates common Moose types, coercions and option specifications useful for dealing with Path::Class objects as Moose attributes. Coercions (see Moose::Util::TypeConstraints) are made from both 'Str' and 'ArrayRef' to both Path::Class::Dir and Path::Class::File objects. If you have MooseX::Getopt installed, the Getopt option type ("=s") will be added for both Path::Class::Dir and Path::Class::File.
Diffstat (limited to 'devel/p5-MooseX-Types-Path-Class')
-rw-r--r--devel/p5-MooseX-Types-Path-Class/DESCR8
-rw-r--r--devel/p5-MooseX-Types-Path-Class/Makefile26
-rw-r--r--devel/p5-MooseX-Types-Path-Class/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-MooseX-Types-Path-Class/DESCR b/devel/p5-MooseX-Types-Path-Class/DESCR
new file mode 100644
index 00000000000..77785105fc0
--- /dev/null
+++ b/devel/p5-MooseX-Types-Path-Class/DESCR
@@ -0,0 +1,8 @@
+MooseX::Types::Path::Class creates common Moose types, coercions
+and option specifications useful for dealing with Path::Class
+objects as Moose attributes.
+
+Coercions (see Moose::Util::TypeConstraints) are made from both
+'Str' and 'ArrayRef' to both Path::Class::Dir and Path::Class::File
+objects. If you have MooseX::Getopt installed, the Getopt option
+type ("=s") will be added for both Path::Class::Dir and Path::Class::File.
diff --git a/devel/p5-MooseX-Types-Path-Class/Makefile b/devel/p5-MooseX-Types-Path-Class/Makefile
new file mode 100644
index 00000000000..cadc0939251
--- /dev/null
+++ b/devel/p5-MooseX-Types-Path-Class/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/11 13:27:28 he Exp $
+#
+
+DISTNAME= MooseX-Types-Path-Class-0.05
+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-Types-Path-Class/
+COMMENT= A Path::Class type library for Moose
+
+DEPENDS+= p5-Class-MOP>=0:../../devel/p5-Class-MOP
+DEPENDS+= p5-Moose>=0.39:../../devel/p5-Moose
+DEPENDS+= p5-MooseX-Types>=0.04:../../devel/p5-MooseX-Types
+DEPENDS+= p5-Path-Class>=0.16:../../devel/p5-Path-Class
+# For tests:
+BUILD_DEPENDS+= p5-MooseX-Getopt>=0:../../devel/p5-MooseX-Getopt
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/MooseX/Types/Path/Class/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MooseX-Types-Path-Class/distinfo b/devel/p5-MooseX-Types-Path-Class/distinfo
new file mode 100644
index 00000000000..4fe267f8434
--- /dev/null
+++ b/devel/p5-MooseX-Types-Path-Class/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/11 13:27:28 he Exp $
+
+SHA1 (MooseX-Types-Path-Class-0.05.tar.gz) = 43dc480d322d721b333e1b12c7a1b8d110250845
+RMD160 (MooseX-Types-Path-Class-0.05.tar.gz) = 0d2aa7eb0ad7a7c5db24a786a1ffee2d547c969a
+Size (MooseX-Types-Path-Class-0.05.tar.gz) = 15313 bytes