# -*- 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-mistune
version             3.0.2
revision            0

categories-append   devel textproc
supported_archs     noarch
platforms           {darwin any}
license             BSD

python.versions     27 38 39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         The fastest markdown parser in pure Python.
long_description    {*}${description}

homepage            https://github.com/lepture/mistune

checksums           rmd160  dd076a21de07126d228f6aabe6283a3f3a7e3686 \
                    sha256  fc7f93ded930c92394ef2cb6f04a8aabab4117a91449e72dcc8dfa646a508be8 \
                    size    90840

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        python.pep517   no
        depends_build-append \
                    port:py${python.version}-setuptools
    }
}