# -*- 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             4.2.8
revision            0

maintainers         nomaintainer
supported_archs     noarch
platforms           {darwin any}
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

checksums           rmd160  c7ad03fed7b30f7fed825cac3905f9416ca6c519 \
                    sha256  ea146564a6666106c481f7c35f97a4d65485c84b0cc86a507597164b6cc0d849 \
                    size    46738

python.versions     313
python.pep517_backend hatch


if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-hatch-vcs
    depends_test-append port:py${python.version}-testtools
    test.run        yes
}
