# $Id: Portfile 105964 2013-05-11 09:09:29Z jmr@macports.org $

PortSystem      1.0
PortGroup       python 1.0

name            py-fixtures
set real_name   fixtures
version         0.3.6
maintainers     nomaintainer
platforms       darwin
supported_archs noarch
description     Fixtures, reusable state for writing clean tests and more.

long_description \
    Fixtures defines a Python contract for reusable state / support logic, \
    primarily for unit testing. Helper and adaption logic is included to make \
    it easy to write your own fixtures using the fixtures contract. Glue code \
    is provided that makes using fixtures that meet the Fixtures contract in \
    unittest compatible test cases easy and straight forward.

categories-append devel
license         {Apache-2 BSD}

homepage        https://launchpad.net/python-${real_name}
master_sites    http://launchpad.net/python-${real_name}/trunk/${version}/+download/
distname        ${real_name}-${version}

checksums       md5     e4d51fa6770efb75bb8c74c0e52486da \
                sha1    1706e8f62065eb503d1f8c45c0c671f027c93666 \
                rmd160  dfdbc865fdffe7aa8f572f1a378ac9ef15462186

python.versions 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-testtools    
}
