# -*- 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.5.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  27397c4a09832f6048c413ab320f05d88b213b7b \
                    sha256  5fcd4a3eb7aa89424c1e2e32bedca66edc38367569c9169a80f4b3e934171fdb \
                    size    37839

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