# -*- 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-sphinxcontrib-httpdomain
version             2.0.0
revision            0

categories-append   textproc devel www
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         Sphinx domain for documenting HTTP APIs
long_description    {*}${description}

homepage            https://github.com/sphinx-contrib/httpdomain

distname            sphinxcontrib_httpdomain-${version}

checksums           rmd160  9998efefe27e95db2c16adb47fd338b4bde87b5b \
                    sha256  9e4e8733bf41ee4d9d5f9eb4dbf3cc2c22a665221ba42c5c3ae181b98af8855d \
                    size    17155

python.versions     310 311 312 313 314
python.pep517_backend uv

if {${name} ne ${subport}} {
    patchfiles      patch-uv_build-pyproject.toml.diff

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