# -*- 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.2
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  f726161009b5447571a20e5f90f89357569ef0b2 \
                    sha256  9506fcbe66fa355a775b768084334238dd6805020ac4b92bea0c0dda6f8f223d \
                    size    855419

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
}
