pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-MooseX-App-Cmd Initial import of p5-MooseX-Ap...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4873d42fa8a2
branches:  trunk
changeset: 397952:4873d42fa8a2
user:      seb <seb%pkgsrc.org@localhost>
date:      Fri Aug 21 01:56:16 2009 +0000

description:
Initial import of p5-MooseX-App-Cmd version 0.05 in the NetBSD
Packages Collection.

The Perl 5 module MooseX::App::Cmd marries App::Cmd with MooseX::Getopt.
Use it like App::Cmd advises (especially see App::Cmd::Tutorial),
swapping App::Cmd::Command for MooseX::App::Cmd::Command.  Then you
can write your moose commands as moose classes, with MooseX::Getopt
defining the options for you instead of opt_spec returning a
Getopt::Long::Descriptive spec.

diffstat:

 devel/p5-MooseX-App-Cmd/DESCR    |   6 ++++++
 devel/p5-MooseX-App-Cmd/Makefile |  28 ++++++++++++++++++++++++++++
 devel/p5-MooseX-App-Cmd/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r c216fb2fd586 -r 4873d42fa8a2 devel/p5-MooseX-App-Cmd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-App-Cmd/DESCR     Fri Aug 21 01:56:16 2009 +0000
@@ -0,0 +1,6 @@
+The Perl 5 module MooseX::App::Cmd marries App::Cmd with MooseX::Getopt.
+Use it like App::Cmd advises (especially see App::Cmd::Tutorial),
+swapping App::Cmd::Command for MooseX::App::Cmd::Command.
+Then you can write your moose commands as moose classes, with
+MooseX::Getopt defining the options for you instead of opt_spec
+returning a Getopt::Long::Descriptive spec.
diff -r c216fb2fd586 -r 4873d42fa8a2 devel/p5-MooseX-App-Cmd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-App-Cmd/Makefile  Fri Aug 21 01:56:16 2009 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/21 01:56:16 seb Exp $
+#
+
+DISTNAME=      MooseX-App-Cmd-0.05
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=MooseX/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/MooseX-App-Cmd-0.05/
+COMMENT=       Perl 5 module providing MooseX::Getopt and App::Cmd mashup
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/MooseX/App/Cmd/.packlist
+
+DEPENDS+=      p5-App-Cmd-[0-9]*:../../devel/p5-App-Cmd
+DEPENDS+=      p5-Getopt-Long-Descriptive-[0-9]*:../../devel/p5-Getopt-Long-Descriptive
+DEPENDS+=      p5-Moose>=0.86:../../devel/p5-Moose
+DEPENDS+=      p5-MooseX-Getopt-[0-9]*:../../devel/p5-MooseX-Getopt
+
+# For test target
+BUILD_DEPENDS+=        p5-Test-use-ok-[0-9]*:../../devel/p5-Test-use-ok
+BUILD_DEPENDS+=        p5-Test-Output-[0-9]*:../../devel/p5-Test-Output
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c216fb2fd586 -r 4873d42fa8a2 devel/p5-MooseX-App-Cmd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-App-Cmd/distinfo  Fri Aug 21 01:56:16 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/21 01:56:16 seb Exp $
+
+SHA1 (MooseX-App-Cmd-0.05.tar.gz) = 01a1033bbcd27ee44c28025087d8a7ceae6a2899
+RMD160 (MooseX-App-Cmd-0.05.tar.gz) = a68e1b2a6aa043b6bf270109b6fa56be031df769
+Size (MooseX-App-Cmd-0.05.tar.gz) = 6303 bytes



Home | Main Index | Thread Index | Old Index