# -*- 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.4.0
categories-append   devel
platforms           darwin
license             MIT

python.versions     38 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  f42ef6012c8c3c5326c1fac233dcacca16b619dc \
                    sha256  f47579d508f2f56eddd16ce72045782ad3b1b3b678098699e2b6a1b30733e1c2 \
                    size    821630

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