summaryrefslogtreecommitdiff
path: root/devel/p5-Test-MockObject
diff options
context:
space:
mode:
authorabs <abs>2008-06-23 04:02:53 +0000
committerabs <abs>2008-06-23 04:02:53 +0000
commit6469d231243af2ecec83ef8f055160b71cb610f6 (patch)
tree40ba6af9abfb04f4bbd2a3acd03ec1e279c7ef04 /devel/p5-Test-MockObject
parente29b1e0f43dabbee1c0fd79bf7a2b7d02ebe233b (diff)
downloadpkgsrc-6469d231243af2ecec83ef8f055160b71cb610f6.tar.gz
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 (limited to 'devel/p5-Test-MockObject')
-rw-r--r--devel/p5-Test-MockObject/DESCR8
-rw-r--r--devel/p5-Test-MockObject/Makefile27
-rw-r--r--devel/p5-Test-MockObject/distinfo5
3 files changed, 40 insertions, 0 deletions
diff --git a/devel/p5-Test-MockObject/DESCR b/devel/p5-Test-MockObject/DESCR
new file mode 100644
index 00000000000..fd735f3531b
--- /dev/null
+++ b/devel/p5-Test-MockObject/DESCR
@@ -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 --git a/devel/p5-Test-MockObject/Makefile b/devel/p5-Test-MockObject/Makefile
new file mode 100644
index 00000000000..f3f965ddfb7
--- /dev/null
+++ b/devel/p5-Test-MockObject/Makefile
@@ -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
+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 --git a/devel/p5-Test-MockObject/distinfo b/devel/p5-Test-MockObject/distinfo
new file mode 100644
index 00000000000..bc3c70d49a4
--- /dev/null
+++ b/devel/p5-Test-MockObject/distinfo
@@ -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