pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-MooseX-SimpleConfig Importing package devel/p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ca09e07989b
branches:  trunk
changeset: 399600:1ca09e07989b
user:      sno <sno%pkgsrc.org@localhost>
date:      Tue Sep 22 18:46:21 2009 +0000

description:
Importing package devel/p5-MooseX-SimpleConfig for p5 module
MooseX::SimpleConfig v0.03 from PR pkg/42024.

This role loads simple configfiles to set object attributes. It is based on the
abstract role MooseX::ConfigFromFile, and uses Config::Any to load your
configfile. Config::Any will in turn support any of a variety of different
config formats, detected by the file extension. See Config::Any for more
details about supported formats.

Like all MooseX::ConfigFromFile -derived configfile loaders, this module is
automatically supported by the MooseX::Getopt role as well, which allows
specifying -configfile on the commandline.

diffstat:

 devel/p5-MooseX-SimpleConfig/DESCR    |   9 +++++++++
 devel/p5-MooseX-SimpleConfig/Makefile |  25 +++++++++++++++++++++++++
 devel/p5-MooseX-SimpleConfig/distinfo |   5 +++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r bc4520d101f8 -r 1ca09e07989b devel/p5-MooseX-SimpleConfig/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-SimpleConfig/DESCR        Tue Sep 22 18:46:21 2009 +0000
@@ -0,0 +1,9 @@
+This role loads simple configfiles to set object attributes. It is based on the
+abstract role MooseX::ConfigFromFile, and uses Config::Any to load your
+configfile. Config::Any will in turn support any of a variety of different
+config formats, detected by the file extension. See Config::Any for more
+details about supported formats.
+
+Like all MooseX::ConfigFromFile -derived configfile loaders, this module is
+automatically supported by the MooseX::Getopt role as well, which allows
+specifying -configfile on the commandline.
diff -r bc4520d101f8 -r 1ca09e07989b devel/p5-MooseX-SimpleConfig/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-SimpleConfig/Makefile     Tue Sep 22 18:46:21 2009 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/22 18:46:21 sno Exp $
+
+DISTNAME=      MooseX-SimpleConfig-0.03
+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-SimpleConfig/
+COMMENT=       Moose role for setting attributes from a simple configfile
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-Config-Any>=0.10:../../devel/p5-Config-Any
+DEPENDS+=      p5-Moose>=0.35:../../devel/p5-Moose
+DEPENDS+=      p5-MooseX-ConfigFromFile>=0.02:../../devel/p5-MooseX-ConfigFromFile
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= # empty
+
+PERL5_PACKLIST=        auto/MooseX/SimpleConfig/.packlist
+PERL5_MODULE_TYPE=     Module::Install
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bc4520d101f8 -r 1ca09e07989b devel/p5-MooseX-SimpleConfig/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-SimpleConfig/distinfo     Tue Sep 22 18:46:21 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/22 18:46:21 sno Exp $
+
+SHA1 (MooseX-SimpleConfig-0.03.tar.gz) = ac264007a02d68d9304a6562f2a838ccaa60c24d
+RMD160 (MooseX-SimpleConfig-0.03.tar.gz) = bcedc10711c6762c54376da87e3f65acb0fdd7d6
+Size (MooseX-SimpleConfig-0.03.tar.gz) = 20819 bytes



Home | Main Index | Thread Index | Old Index