# -*- 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-htmlhelp
version             2.1.0
revision            0

categories-append   textproc devel
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {mcalhoun @MarcusCalhoun-Lopez} openmaintainer

description         a sphinx extension which renders HTML help files
long_description    sphinxcontrib-htmlhelp is {*}${description}.

homepage            https://www.sphinx-doc.org/

checksums           rmd160  383acac103316053e588db2ae983f8b8ca2c52c7 \
                    sha256  c9e2916ace8aad64cc13a0d233ee22317f2b9025b9cf3295249fa985cc7082e9 \
                    size    22617

python.versions     36 37 38 39 310 311 312 313
python.pep517       yes
python.pep517_backend   flit

if {${name} ne ${subport}} {
    depends_run-append \
                        port:py${python.version}-docutils
    if {${python.version} <= 38} {
        version     2.0.1
        revision    0
        checksums   md5 e85e6970dc25fbf5fd0f4fa66b897fab \
                    rmd160 bcfa9c2e09657810411d5b9180e9a5b05cec5100 \
                    sha256 0cbdd302815330058422b98a113195c9249825d681e18f11e8b1f78a2f11efff
        patchfiles  flit.patch
    } else {
        distname    sphinxcontrib_htmlhelp-${version}
    }
    livecheck.type      none
}
