pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Command-Simple This test module is inten...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a579efbec78e
branches:  trunk
changeset: 603370:a579efbec78e
user:      pettai <pettai%pkgsrc.org@localhost>
date:      Fri May 04 23:34:24 2012 +0000

description:
This test module is intended to simplify testing of external commands.
It does so by running the command under IPC::Open3, closing the stdin
immediately, and reading everything from the command's stdout and stderr.
It then makes the output available to be tested.

diffstat:

 devel/p5-Test-Command-Simple/DESCR    |   4 ++++
 devel/p5-Test-Command-Simple/Makefile |  18 ++++++++++++++++++
 devel/p5-Test-Command-Simple/distinfo |   5 +++++
 3 files changed, 27 insertions(+), 0 deletions(-)

diffs (39 lines):

diff -r 4af3250fd050 -r a579efbec78e devel/p5-Test-Command-Simple/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Command-Simple/DESCR        Fri May 04 23:34:24 2012 +0000
@@ -0,0 +1,4 @@
+This test module is intended to simplify testing of external commands.
+It does so by running the command under IPC::Open3, closing the stdin
+immediately, and reading everything from the command's stdout and stderr.
+It then makes the output available to be tested.
diff -r 4af3250fd050 -r a579efbec78e devel/p5-Test-Command-Simple/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Command-Simple/Makefile     Fri May 04 23:34:24 2012 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/04 23:34:24 pettai Exp $
+
+DISTNAME=              Test-Command-Simple-0.03
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://search.cpan.org/dist/Test-Command-Simple/
+COMMENT=               Test external commands (nearly) as easily as loaded modules
+LICENSE=               ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_PACKLIST=                auto/Test/Command/Simple/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4af3250fd050 -r a579efbec78e devel/p5-Test-Command-Simple/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Command-Simple/distinfo     Fri May 04 23:34:24 2012 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/05/04 23:34:24 pettai Exp $
+
+SHA1 (Test-Command-Simple-0.03.tar.gz) = fa87f16180c726c38b8852632beabbe599cb6e42
+RMD160 (Test-Command-Simple-0.03.tar.gz) = cc85b611d2ab5eb2f124a9200cc1d0cc2e828645
+Size (Test-Command-Simple-0.03.tar.gz) = 5814 bytes



Home | Main Index | Thread Index | Old Index