# -*- 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-ddt
version             1.7.2
revision            0
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {khindenburg @kurthindenburg} openmaintainer

description         Data-Driven/Decorated Tests
long_description    A library to multiply test cases

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  0d20432004043f378ffc2372e6671bc695303634 \
                    sha256  d215d6b083963013c4a19b1e4dcd6a96e80e43ab77519597a6acfcf2e9a3e04b \
                    size    13673

python.versions     310 311 312

if {${name} ne ${subport}} {
    pre-test {
        # missing dep aiounittest
        delete ${test.dir}/test/test_async.py
    }
    depends_test-append port:py${python.version}-mock \
                        port:py${python.version}-six \
                        port:py${python.version}-yaml

    test.run            yes
}
