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

PortSystem          1.0
PortGroup           python 1.0

name                py-fixtures
version             3.0.0
revision            0
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://github.com/testing-cabal/fixtures
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  dd67b5e47562b36cd68c0b0788de492ba3224c54 \
                    sha256  fcf0d60234f1544da717a9738325812de1f42c2fa085e2d9252d8fff5712b2ef \
                    size    56629

python.versions     27 37

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-pbr

    depends_lib-append \
                    port:py${python.version}-six \
                    port:py${python.version}-testtools

    livecheck.type  none
}
