# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-mox
version             0.5.3
platforms           darwin
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         An object-mocking framework for Python
long_description    \
    Mox will make mock objects for you, so you don't have to create your own! \
    It mocks the public/protected interfaces of Python objects. You set up \
    your mock objects expected behavior using a domain specific language \
    (DSL), which makes it easy to use, understand, and refactor!

homepage            https://code.google.com/p/pymox/
master_sites        pypi:m/mox
distname            mox-${version}

checksums           rmd160  81ecdb84b09e54019d905be736f178adc22ca87f \
                    sha256  424ee725ee12652802b4e86571f816059b0d392401ceae70bf6487d65602cba9 \
                    size    32397

python.versions     27

if {${name} ne ${subport}} {
    test.run        yes
    test.cmd        ${python.bin} mox_test.py && ${python.bin} stubout_test.py
    test.target
}
