# -*- 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             4.0.4
revision            0

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

python.versions     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  5ef458804bf9c542c7b93bf016aabe51315829da \
                    sha256  cb10e0c0d2591636716ad2fe402e977c16d71bdaf76bb8cb49e8a6633596f736 \
                    size    29918

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
}
