pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Capture-Tiny PkgSrc changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d2819155d15
branches:  trunk
changeset: 557214:0d2819155d15
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun Apr 12 12:39:58 2009 +0000

description:
PkgSrc changes:
  - import package for perl module Capture::Tiny (required for
    Email::Sender update)

Capture::Tiny provides a simple, portable way to capture anything sent to
STDOUT or STDERR, regardless of whether it comes from Perl, from XS code
or from an external program. Optionally, output can be teed so that it is
captured while being passed through to the original handles. Yes, it even
works on Windows. Stop guessing which of a dozen capturing modules to use
in any particular situation and just use this one.

This module was heavily inspired by IO::CaptureOutput, which provides
similar functionality without the ability to tee output and with more
complicated code and API.

diffstat:

 devel/p5-Capture-Tiny/DESCR    |  10 ++++++++++
 devel/p5-Capture-Tiny/Makefile |  20 ++++++++++++++++++++
 devel/p5-Capture-Tiny/distinfo |   5 +++++
 3 files changed, 35 insertions(+), 0 deletions(-)

diffs (47 lines):

diff -r a9f655a07190 -r 0d2819155d15 devel/p5-Capture-Tiny/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Capture-Tiny/DESCR       Sun Apr 12 12:39:58 2009 +0000
@@ -0,0 +1,10 @@
+Capture::Tiny provides a simple, portable way to capture anything sent to
+STDOUT or STDERR, regardless of whether it comes from Perl, from XS code
+or from an external program. Optionally, output can be teed so that it is
+captured while being passed through to the original handles. Yes, it even
+works on Windows. Stop guessing which of a dozen capturing modules to use
+in any particular situation and just use this one.
+
+This module was heavily inspired by IO::CaptureOutput, which provides
+similar functionality without the ability to tee output and with more
+complicated code and API.
diff -r a9f655a07190 -r 0d2819155d15 devel/p5-Capture-Tiny/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Capture-Tiny/Makefile    Sun Apr 12 12:39:58 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/12 12:39:58 sno Exp $
+
+DISTNAME=      Capture-Tiny-0.05
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DA/DAGOLDEN/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Capture-Tiny/
+COMMENT=       Perl module capture STDOUT and STDERR from Perl, XS or external programs
+LICENSE=       apache-2.0
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/Capture/Tiny/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a9f655a07190 -r 0d2819155d15 devel/p5-Capture-Tiny/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Capture-Tiny/distinfo    Sun Apr 12 12:39:58 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/12 12:39:58 sno Exp $
+
+SHA1 (Capture-Tiny-0.05.tar.gz) = bf471ba0ba8cf5accb2c01b1da52f800017cae6e
+RMD160 (Capture-Tiny-0.05.tar.gz) = 299a7306c4b20fed5cf4bfe5e68637d6eef6af27
+Size (Capture-Tiny-0.05.tar.gz) = 15565 bytes



Home | Main Index | Thread Index | Old Index