summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorschmonz <schmonz>2013-04-12 14:38:03 +0000
committerschmonz <schmonz>2013-04-12 14:38:03 +0000
commitcdfba6954d4107be46a9f8c4a60a523c848ba288 (patch)
tree14fc7d60bf280e92e179dbe34d13d6e98692bad4 /devel
parent7e34e3f5dbb6742a8963a61d0aacef09525ae656 (diff)
downloadpkgsrc-cdfba6954d4107be46a9f8c4a60a523c848ba288.tar.gz
Add p5-MouseX-Types-Path-Class.
MouseX::Types::Path::Class creates common Mouse types, coercions and option specifications useful for dealing with Path::Class objects as Mouse attributes. Coercions (see Mouse::Util::TypeConstraints) are made from both Str and ArrayRef to both Path::Class::Dir and Path::Class::File objects. If you have MouseX::Getopt installed, the Getopt option type ("=s") will be added for both Path::Class::Dir and Path::Class::File.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-MouseX-Types-Path-Class/DESCR8
-rw-r--r--devel/p5-MouseX-Types-Path-Class/Makefile26
-rw-r--r--devel/p5-MouseX-Types-Path-Class/distinfo5
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/p5-MouseX-Types-Path-Class/DESCR b/devel/p5-MouseX-Types-Path-Class/DESCR
new file mode 100644
index 00000000000..cc4794f4dd7
--- /dev/null
+++ b/devel/p5-MouseX-Types-Path-Class/DESCR
@@ -0,0 +1,8 @@
+MouseX::Types::Path::Class creates common Mouse types, coercions
+and option specifications useful for dealing with Path::Class objects
+as Mouse attributes.
+
+Coercions (see Mouse::Util::TypeConstraints) are made from both Str
+and ArrayRef to both Path::Class::Dir and Path::Class::File objects.
+If you have MouseX::Getopt installed, the Getopt option type ("=s")
+will be added for both Path::Class::Dir and Path::Class::File.
diff --git a/devel/p5-MouseX-Types-Path-Class/Makefile b/devel/p5-MouseX-Types-Path-Class/Makefile
new file mode 100644
index 00000000000..7714f0bb2c7
--- /dev/null
+++ b/devel/p5-MouseX-Types-Path-Class/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/04/12 14:38:03 schmonz Exp $
+#
+
+DISTNAME= MouseX-Types-Path-Class-0.07
+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-Types-Path-Class/
+COMMENT= Path::Class type library for Mouse
+LICENSE= ${PERL5_LICENSE}
+
+PERL5_PACKLIST= auto/MouseX/Types/Path/Class/.packlist
+
+DEPENDS+= p5-Mouse>=0.39:../../devel/p5-Mouse
+DEPENDS+= p5-MouseX-Types>=0.02:../../devel/p5-MouseX-Types
+DEPENDS+= p5-Path-Class-[0-9]*:../../devel/p5-Path-Class
+
+# XXX recommends 'MouseX::Getopt' => '0.2200';
+
+BUILD_DEPENDS+= p5-Test-UseAllModules-[0-9]*:../../devel/p5-Test-UseAllModules
+
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MouseX-Types-Path-Class/distinfo b/devel/p5-MouseX-Types-Path-Class/distinfo
new file mode 100644
index 00000000000..1fd2c33faf0
--- /dev/null
+++ b/devel/p5-MouseX-Types-Path-Class/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/04/12 14:38:03 schmonz Exp $
+
+SHA1 (MouseX-Types-Path-Class-0.07.tar.gz) = 7052a10db20cd845c52e21eb825ab10a43bb14ba
+RMD160 (MouseX-Types-Path-Class-0.07.tar.gz) = 0983730b271466f71e9b578d656847c55c1ce3e6
+Size (MouseX-Types-Path-Class-0.07.tar.gz) = 25669 bytes