# -*- 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-click
version             6.1.0
revision            0

license             MIT
supported_archs     noarch
platforms           {darwin any}
maintainers         {@harens harens} openmaintainer

description         A Sphinx plugin to automatically document click-based applications
long_description    sphinx-click is a Sphinx plugin that allows you to automatically extract \
                    documentation from a click-based application and include it in your docs.

homepage            https://sphinx-click.readthedocs.io/en/latest/

distname            sphinx_click-${version}

checksums           rmd160  884df8190e840f5560ecb9d5fc2958008727a714 \
                    sha256  c702e0751c1a0b6ad649e4f7faebd0dc09a3cc7ca3b50f959698383772f50eef \
                    size    26855

python.versions     310 311 312 313

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

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