pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Path-Dispatcher Initial import of p5-Path-Dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa0ca760010d
branches:  trunk
changeset: 391992:fa0ca760010d
user:      seb <seb%pkgsrc.org@localhost>
date:      Thu Apr 23 22:17:01 2009 +0000

description:
Initial import of p5-Path-Dispatcher version 0.12 in the NetBSD
Packages Collection.

The Perl 5 module Path::Dispatcher is similar to the module
Jifty::Dispatcher but its use is for the command line.

The basic operation is that of dispatch. Dispatch takes a path and
a list of rules, and it returns a list of matches. From there you
can "run" the rules that matched. These phases are distinct so that,
if you need to, you can inspect which rules were matched without
ever running their codeblocks.

diffstat:

 devel/p5-Path-Dispatcher/DESCR    |   8 ++++++++
 devel/p5-Path-Dispatcher/Makefile |  26 ++++++++++++++++++++++++++
 devel/p5-Path-Dispatcher/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r c2aa6d7df599 -r fa0ca760010d devel/p5-Path-Dispatcher/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Path-Dispatcher/DESCR    Thu Apr 23 22:17:01 2009 +0000
@@ -0,0 +1,8 @@
+The Perl 5 module Path::Dispatcher is similar to the module
+Jifty::Dispatcher but its use is for the command line.
+
+The basic operation is that of dispatch. Dispatch takes a path and
+a list of rules, and it returns a list of matches. From there you
+can "run" the rules that matched. These phases are distinct so that,
+if you need to, you can inspect which rules were matched without
+ever running their codeblocks.
diff -r c2aa6d7df599 -r fa0ca760010d devel/p5-Path-Dispatcher/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Path-Dispatcher/Makefile Thu Apr 23 22:17:01 2009 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/23 22:17:01 seb Exp $
+
+DISTNAME=      Path-Dispatcher-0.12
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SA/SARTAK/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Path-Dispatcher/
+COMMENT=       Perl 5 module providing flexible and extensible dispatch
+#LICENSE=
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= # empty
+
+DEPENDS+=      p5-Any-Moose-[0-9]*:../../devel/p5-Any-Moose
+DEPENDS+=      p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
+
+# For test target
+BUILD_DEPENDS+=        p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+
+PERL5_PACKLIST=        auto/Path/Dispatcher/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c2aa6d7df599 -r fa0ca760010d devel/p5-Path-Dispatcher/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Path-Dispatcher/distinfo Thu Apr 23 22:17:01 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/23 22:17:01 seb Exp $
+
+SHA1 (Path-Dispatcher-0.12.tar.gz) = 5bdf02d7a49594863501f287ae38f46c56f71eb1
+RMD160 (Path-Dispatcher-0.12.tar.gz) = 907f66d485ae981d74b36d62626b1baee8b09dd0
+Size (Path-Dispatcher-0.12.tar.gz) = 33901 bytes



Home | Main Index | Thread Index | Old Index