# -*- 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-sphinx-autodoc-typehints
version             1.25.3
revision            0

categories-append   textproc devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         Type hints (PEP 484) support for the Sphinx autodoc extension
long_description    \
    This extension allows you to use Python 3 annotations for documenting \
    acceptable argument types and return value types of functions.

homepage            https://github.com/tox-dev/sphinx-autodoc-typehints

distname            sphinx_autodoc_typehints-${version}

checksums           rmd160  cac617827c93ec07423531e4d435189eed21ebc2 \
                    sha256  70db10b391acf4e772019765991d2de0ff30ec0899b9ba137706dc0b3c4835e0 \
                    size    37709

python.versions     39 310 311 312
python.pep517_backend hatch

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-hatch-vcs

    depends_run-append \
                        port:py${python.version}-sphinx
}
