# -*- 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

python.rootname     pytest-twisted
name                py-${python.rootname}
version             1.14.3
distname            [string map {- _} ${python.rootname}]-${version}
categories-append   devel net
license             MIT
supported_archs     noarch
maintainers         nomaintainer
description         test twisted code with pytest
long_description    pytest-twisted is a plugin for pytest, which allows to test code, \
                    which uses the twisted framework. test functions can \
                    return Deferred objects and pytest will wait for their completion \
                    with this plugin.
homepage            https://github.com/pytest-dev/pytest-twisted

checksums           rmd160  4bbc203b6491a8550fa1790df7a9a598c8b094f9 \
                    sha256  37e150cbbc0edba6592d36c53f44fc1196f3a9e93e7bef6a25bb10d9963f7f3e \
                    size    17765

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append    \
        port:py${python.version}-decorator \
        port:py${python.version}-pytest \
        port:py${python.version}-greenlet
}
