# -*- 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 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
    } else {
        python.pep517_backend flit
    }

    livecheck.type  none
}
