# -*- 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             11.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  33e094a310812c1034e78ef551c64e23b6e8763d \
                    sha256  dd2905ae6fc5b75582fafb139a1266ffc754705efa902aa50067fa7ff4f94ec0 \
                    size    857113

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
}
