# -*- 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-aiodns
version             3.5.0
revision            0

categories-append   devel
license             MIT
platforms           {darwin any}
supported_archs     noarch

python.versions     39 310 311 312 313 314

maintainers         {ipglider.org:miguel @ipglider} openmaintainer

description         Simple DNS resolver for asyncio.
long_description    aiodns provides a simple way for doing asynchronous DNS \
                    resolutions with a synchronous looking interface by using \
                    pycares.

homepage            https://github.com/saghul/aiodns

checksums           rmd160  a6a5f4a0696443190d92e80da4975259c3129d60 \
                    sha256  11264edbab51896ecf546c18eb0dd56dff0428c6aa6d2cd87e643e07300eb310 \
                    size    14380

if {${name} ne ${subport}} {
    depends_run-append      port:py${python.version}-pycares

    test.run        yes
    depends_test-append \
                    port:py${python.version}-pycares \
                    port:py${python.version}-pytest-asyncio
}
