# -*- 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-markdown-it-py
version             4.2.0
revision            0

categories-append   textproc
maintainers         nomaintainer
license             MIT
supported_archs     noarch
platforms           {darwin any}

description         Python port of markdown-it
long_description    {*}${description}. Markdown parser done right.

homepage            https://github.com/executablebooks/markdown-it-py

distname            markdown_it_py-${version}

checksums           rmd160  b360bc71d18d482a6c2b347c1a30885771cc7f29 \
                    sha256  04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49 \
                    size    82454

python.versions     310 311 312 313 314
python.pep517_backend   flit

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-linkify-it-py \
                    port:py${python.version}-mdit-py-plugins \
                    port:py${python.version}-mdurl
}
