# $Id: Portfile 78609 2011-05-14 07:38:20Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-mock
set real_name       mock
version             0.7.0rc1
categories-append   devel
platforms           darwin
license             BSD
maintainers         singingwolfboy openmaintainer
description         A Python Mocking and Patching Library for Testing
long_description  \
    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.

homepage            http://www.voidspace.org.uk/python/mock/
master_sites        http://pypi.python.org/packages/source/m/${real_name}
distname            ${real_name}-${version}
checksums           md5     cb4f34459e45607b75a304bde6353ac3 \
                    sha1    cf683cb6a168625b5ab3d7b910e48c86c0b3f27b \
                    rmd160  b7aa0cb759dff3e47b0376a7bd59e32007b8a86f
