pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-MockObject import p5-p5-Test-MockObject-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a613bd201802
branches:  trunk
changeset: 543824:a613bd201802
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Jun 23 04:02:53 2008 +0000

description:
import p5-p5-Test-MockObject-1.09

Perl extension for emulating troublesome interfaces.

Testing is a lot easier when you can control the entire environment.
With Test::MockObject, you can get a lot closer.

Test::MockObject allows you to create objects that conform to
particular interfaces with very little code. You don't have to
reimplement the behavior, just the input and the output.

diffstat:

 devel/p5-Test-MockObject/DESCR    |   8 ++++++++
 devel/p5-Test-MockObject/Makefile |  27 +++++++++++++++++++++++++++
 devel/p5-Test-MockObject/distinfo |   5 +++++
 3 files changed, 40 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r bdbf4b187ace -r a613bd201802 devel/p5-Test-MockObject/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-MockObject/DESCR    Mon Jun 23 04:02:53 2008 +0000
@@ -0,0 +1,8 @@
+Perl extension for emulating troublesome interfaces.
+
+Testing is a lot easier when you can control the entire environment.
+With Test::MockObject, you can get a lot closer.
+
+Test::MockObject allows you to create objects that conform to
+particular interfaces with very little code. You don't have to
+reimplement the behavior, just the input and the output.
diff -r bdbf4b187ace -r a613bd201802 devel/p5-Test-MockObject/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-MockObject/Makefile Mon Jun 23 04:02:53 2008 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/06/23 04:02:53 abs Exp $
+
+DISTNAME=      Test-MockObject-1.09
+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-MockObject/
+COMMENT=       Tests remote URLs or local web files
+
+BUILD_DEPENDS+=        p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils
+BUILD_DEPENDS+=        p5-UNIVERSAL-can>=1.00:../../devel/p5-UNIVERSAL-can
+BUILD_DEPENDS+=        p5-UNIVERSAL-isa>=0.02:../../devel/p5-UNIVERSAL-isa
+BUILD_DEPENDS+=        p5-Test-Exception>=0:../../devel/p5-Test-Exception
+BUILD_DEPENDS+=        p5-Test-Warn>=0:../../devel/p5-Test-Warn
+
+INSTALL_TARGET=        pure_install
+
+PERL5_MODULE_TYPE=     Module::Build
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Test/MockObject/.packlist
+
+PKG_DESTDIR_SUPPORT=    user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bdbf4b187ace -r a613bd201802 devel/p5-Test-MockObject/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-MockObject/distinfo Mon Jun 23 04:02:53 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/06/23 04:02:53 abs Exp $
+
+SHA1 (Test-MockObject-1.09.tar.gz) = 65da2c1067184f31f906d6c12cd6870e740d8d44
+RMD160 (Test-MockObject-1.09.tar.gz) = f79470e9df55febf28c7b105e231550f5e17606f
+Size (Test-MockObject-1.09.tar.gz) = 21788 bytes



Home | Main Index | Thread Index | Old Index