Import py26-mock-0.7.0b4 as devel/py-mock.

mock is a Python module that provides a core Mock class.  It removes
the need to create a host of stubs throughout your test suite.  After
performing an action, you can make assertions about which methods /
attributes were used and arguments they were called with.  You can
also specify return values and set needed attributes in the normal
way.
This commit is contained in:
gdt 2011-01-29 14:53:14 +00:00
parent 55cf8222ea
commit a7005703c6
4 changed files with 38 additions and 0 deletions

6
devel/py-mock/DESCR Normal file
View file

@ -0,0 +1,6 @@
mock is a Python module that provides a core Mock class. It removes
the need to create a host of stubs throughout your test suite. After
performing an action, you can make assertions about which methods /
attributes were used and arguments they were called with. You can
also specify return values and set needed attributes in the normal
way.

19
devel/py-mock/Makefile Normal file
View file

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/01/29 14:53:14 gdt Exp $
#
DISTNAME= mock-0.7.0b4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://pypi.python.org/packages/source/m/mock/
MAINTAINER= gdt@ir.bbn.com
HOMEPAGE= http://pypi.python.org/pypi/mock
COMMENT= Python testing framework
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

8
devel/py-mock/PLIST Normal file
View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/29 14:53:14 gdt Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/mock.py
${PYSITELIB}/mock.pyc
${PYSITELIB}/mock.pyo

5
devel/py-mock/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/01/29 14:53:14 gdt Exp $
SHA1 (mock-0.7.0b4.tar.gz) = effb4048d7b32dc8ebc0d9bc45f24600a03aedfb
RMD160 (mock-0.7.0b4.tar.gz) = 63ef286883fdd84fd692e82e07343dd7f9596ffc
Size (mock-0.7.0b4.tar.gz) = 270735 bytes