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

categories-append   devel
platforms           darwin
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  187d81645e1e5bf531fb594a040ac2fb92ad310d \
                    sha256  8a1d981206a16240eedc79b51af3293575715d4b0b971f4eb47e24839d5ab440 \
                    size    822359

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