# -*- 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-pymdown-extensions
version             13.1
revision            0

categories-append   textproc
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Extension pack for Python Markdown.
long_description    {*}${description}

homepage            https://github.com/facelessuser/pymdown-extensions

distname            pymdown_extensions-${version}

checksums           rmd160  cd912e49e5fe7d230b3a91b971219c54259d523b \
                    sha256  e1ecec373677483b7324a47e5b4bf2e0c6614fe8dcdab1dcc6a05ecefd9b527d \
                    size    897600

python.versions     313 314 315
python.pep517_backend hatch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-markdown \
                    port:py${python.version}-pygments \
                    port:py${python.version}-yaml

    test.run        yes
}
