# -*- 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-alabaster
version             1.0.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         A configurable sidebar enabled Sphinx theme
long_description    {*}${description}

homepage            https://alabaster.readthedocs.io/en/latest/

checksums           rmd160  bf5682ba16331fa942cb0bf448812dbdf71161c7 \
                    sha256  c00dca57bca26fa62a6d7d0a9fcce65f3e026e9bfe33e9c538fd3fbb2144fd9e \
                    size    24210

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

if {${subport} ne ${name}} {
    if {${python.version} == 27} {
        version     0.7.12
        revision    0
        # stealth update
        master_sites macports_distfiles
        checksums   rmd160 c8a1853b067ad6a9e4d8d2cf9c33f4d47bbc0230 \
                    sha256 86363e9f894c0cff8c1a3e89a379ad4b38d329021462e18b35ef92f60559369f \
                    size 23144

        depends_build-append \
                    port:py${python.version}-setuptools
    } elseif {${python.version} < 39} {
        version     0.7.13
        revision    0
        checksums   rmd160  d81f91bd9eb6d873d765e14783a4a936fd6f26a0 \
                    sha256  a27a4a084d5e690e16e01e03ad2b2e552c61a65469419b907243193de1a84ae2 \
                    size    11454
        depends_build-append \
                    port:py${python.version}-setuptools
    } elseif {${python.version} == 39} {
        version     0.7.16
        revision    0
        checksums   rmd160  56796fb6a979b4f24a4c032320ca319e1ced66d5 \
                    sha256  75a8b99c28a5dad50dd7f8ccdd447a121ddb3892da9e53d1ca5cca3106d58d65 \
                    size    23776
        python.pep517_backend flit
    } else {
        python.pep517_backend flit
    }

    livecheck.type  none
}
