# -*- 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-applehelp
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 Apple help books
long_description    sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.

homepage            http://sphinx-doc.org/

checksums           rmd160  44702e7ba718c8f04f7dc8fda2e8d92b2f2f1a6a \
                    sha256  2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1 \
                    size    20053

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

if {$subport ne $name} {
    if {${python.version} <= 38} {
        version     1.0.4
        revision    0
        checksums   md5 8d52173d3d5c7bd9c0e3da26cd217916 \
                    rmd160 515a0da08d2c6f3be59b5c923a328f2e36d32c30 \
                    sha256 828f867945bbe39817c210a1abfd1bc4895c8b73fcaade56d45357a348a07d7e
        patchfiles  flit.patch
    } else {
        distname    sphinxcontrib_applehelp-${version}
    }
}
