summaryrefslogtreecommitdiff
path: root/devel/p5-Log-Dispatchouli
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2012-07-05 14:10:51 +0000
committersno <sno@pkgsrc.org>2012-07-05 14:10:51 +0000
commit748db16822dffe68e8f5afe0b7b891092da5f762 (patch)
tree3c163fa72644277e627cef387c92a155edd4c14f /devel/p5-Log-Dispatchouli
parent2c0fa71b3546d98b50b884d95af4a866e9b52f5e (diff)
downloadpkgsrc-748db16822dffe68e8f5afe0b7b891092da5f762.tar.gz
Importing package for Perl 5 module Log::Dispatchouli version 2.005 from
CPAN into devel/p5-Log-Dispatchouli. Log::Dispatchouli is a thin layer above Log::Dispatch and meant to make it dead simple to add logging to a program without having to think much about categories, facilities, levels, or things like that. It is meant to make logging just configurable enough that you can find the logs you want and just easy enough that you will actually log things. Log::Dispatchouli can log to syslog (if you specify a facility), standard error or standard output, to a file, or to an array in memory. That last one is mostly useful for testing. In addition to providing as simple a way to get a handle for logging operations, Log::Dispatchouli uses String::Flogger to process the things to be logged, meaning you can easily log data structures. Basically: strings are logged as is, arrayrefs are taken as (sprintf format, args), and subroutines are called only if needed. For more information read the String::Flogger docs.
Diffstat (limited to 'devel/p5-Log-Dispatchouli')
-rw-r--r--devel/p5-Log-Dispatchouli/DESCR16
-rw-r--r--devel/p5-Log-Dispatchouli/Makefile31
-rw-r--r--devel/p5-Log-Dispatchouli/distinfo5
3 files changed, 52 insertions, 0 deletions
diff --git a/devel/p5-Log-Dispatchouli/DESCR b/devel/p5-Log-Dispatchouli/DESCR
new file mode 100644
index 00000000000..fc9b95c3e66
--- /dev/null
+++ b/devel/p5-Log-Dispatchouli/DESCR
@@ -0,0 +1,16 @@
+Log::Dispatchouli is a thin layer above Log::Dispatch and meant to make it
+dead simple to add logging to a program without having to think much about
+categories, facilities, levels, or things like that. It is meant to make
+logging just configurable enough that you can find the logs you want and
+just easy enough that you will actually log things.
+
+Log::Dispatchouli can log to syslog (if you specify a facility), standard
+error or standard output, to a file, or to an array in memory. That last
+one is mostly useful for testing.
+
+In addition to providing as simple a way to get a handle for logging
+operations, Log::Dispatchouli uses String::Flogger to process the things
+to be logged, meaning you can easily log data structures. Basically:
+strings are logged as is, arrayrefs are taken as (sprintf format, args),
+and subroutines are called only if needed. For more information read the
+String::Flogger docs.
diff --git a/devel/p5-Log-Dispatchouli/Makefile b/devel/p5-Log-Dispatchouli/Makefile
new file mode 100644
index 00000000000..9b541a328f0
--- /dev/null
+++ b/devel/p5-Log-Dispatchouli/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2012/07/05 14:10:51 sno Exp $
+
+DISTNAME= Log-Dispatchouli-2.005
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5ldi
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Log-Dispatchouli/
+COMMENT= Perl 5 wrapper module around Log::Dispatch
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Log-Dispatch-[0-9]*:../../devel/p5-Log-Dispatch
+DEPENDS+= p5-Log-Dispatch-Array-[0-9]*:../../devel/p5-Log-Dispatch-Array
+DEPENDS+= p5-Params-Util-[0-9]*:../../devel/p5-Params-Util
+DEPENDS+= p5-String-Flogger-[0-9]*:../../textproc/p5-String-Flogger
+DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
+DEPENDS+= p5-Sub-Exporter-GlobExporter-[0-9]*:../../devel/p5-Sub-Exporter-GlobExporter
+DEPENDS+= p5-Try-Tiny>=0.04:../../devel/p5-Try-Tiny
+
+BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
+BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+BUILD_DEPENDS+= {perl>=5.14.1,p5-Test-Simple>=0.96}:../../devel/p5-Test-Simple
+
+PERL5_PACKLIST= auto/Log/Dispatchouli/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Log-Dispatchouli/distinfo b/devel/p5-Log-Dispatchouli/distinfo
new file mode 100644
index 00000000000..e465a56d534
--- /dev/null
+++ b/devel/p5-Log-Dispatchouli/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/07/05 14:10:51 sno Exp $
+
+SHA1 (Log-Dispatchouli-2.005.tar.gz) = fe944715c58864e8af10f66f9152e7ae3ec6799f
+RMD160 (Log-Dispatchouli-2.005.tar.gz) = d4f717e6ee29240335d836352010ff080d77bb98
+Size (Log-Dispatchouli-2.005.tar.gz) = 22449 bytes