# -*- 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             3.6.2
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  13443107f92e04806260813c9913f941240bdceb \
                    sha256  3d37709a21b7b765ad6e20a04ecefcb229b9eb0007cb24f6ebaa8a4576ea7f06 \
                    size    37574

python.versions     311 312 313 314
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
}
