# -*- 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             12.0.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  2ff5a1032699636416ac92fbc42abd75d3bae004 \
                    sha256  88fe2c97fb9153b9f2cc1da59f1d7c7cb74971110daf33cccb2a5514e0f7e970 \
                    size    866904

python.versions     313 314
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
}
