# -*- 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-parameterized
version             0.9.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             FreeBSD
maintainers         nomaintainer

description         Parameterized testing with any Python test framework
long_description    {*}${description}

homepage            https://github.com/wolever/parameterized

checksums           sha256  7fc905272cefa4f364c1a3429cbbe9c0f98b793988efb5bf90aac80f08db09b1 \
                    rmd160  9ffd860931d59cfa3cb7b25e88cae2876ac1de80 \
                    size    24351

python.versions     310 311 312 313 314

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

    # there are five different ways of running tests, see tox.ini
    # this runs just one
    test.run        yes
    python.test_framework nose
}
