# -*- 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-qthelp
version             2.0.0
revision            0
categories-append   textproc devel
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {mcalhoun @MarcusCalhoun-Lopez} openmaintainer

description         sphinx extension which outputs QtHelp document
long_description    sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document.

homepage            http://sphinx-doc.org/

checksums           rmd160  a0f7b2a0feba48736071aab2e8f27219445e1ae4 \
                    sha256  4fe7d0ac8fc171045be623aba3e2a8f613f8682731f9153bb2e40ece16b9bbab \
                    size    17165

python.versions     36 37 38 39 310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append \
                        port:py${python.version}-docutils
    if {${python.version} <= 38} {
        version     1.0.3
        revision    0
        checksums   md5 93216721f3e154cce12d1e9c3307b415 \
                    rmd160 b41a6b415c5653b0828009bcd73b18823d3cc1b8 \
                    sha256 4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72
    } else {
        python.pep517_backend   flit
        distname    sphinxcontrib_qthelp-${version}
    }
    livecheck.type      none
}
