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

github.setup        Martiusweb asynctest 0.13.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1
name                py-asynctest

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             Apache-2
maintainers         nomaintainer

description         Enhance the standard unittest package with features for testing asyncio libraries
long_description    The package asynctest is built on top of the standard unittest module and \
                    cuts down boilerplate code when testing libraries for asyncio.

checksums           rmd160  9b309a25d13fb6e7db142c3a442cb45900b43d2d \
                    sha256  60eb5386ff1ef9d00842d545683e3be6c9d0eb0898141a8a75cebca9e3ebb179 \
                    size    67690

python.versions     39 310 311 312

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst \
            LICENSE.md AUTHORS ${destroot}${docdir}
    }
}