# -*- 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-pycares
version             4.10.0
revision            0

categories-append   devel
license             MIT

python.versions     39 310 311 312 313

maintainers         {ipglider.org:miguel @ipglider} openmaintainer

description         Python interface for c-ares.
long_description    pycares is a Python module which provides an interface to \
                    c-ares. c-ares is a C library that performs DNS requests \
                    and name resolutions asynchronously.

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

checksums           rmd160  38f1dcc609046cb52c0f4082175dfed7eac08fd7 \
                    sha256  9df70dce6e05afa5d477f48959170e569485e20dad1a089c4cf3b2d7ffbd8bf9 \
                    size    654318

compiler.c_standard 2011

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-cffi
}
