# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        oinume iocapture 0.1.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-iocapture
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         Capture stdout, stderr easily.
long_description    {*}${description}
homepage            https://pypi.org/project/iocapture

checksums           rmd160  43c71e9d58a9abb9f835466d436f7eb114bda5ee \
                    sha256  79154f782e125d31bd611147ace504507d02dc5867db2c6df57f92d0cdd30d81 \
                    size    13130

python.versions     310 311 312 313 314

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

    test.run            yes
}
