# -*- 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.1.3
revision            0

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

python.versions     27 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  d3e43bfcc39b77d492ab596b1e6e6af1d306f5b5 \
                    sha256  a7035c21782b2becb6be62f8f25d3df81ccb4d6fa477a6525b15af06539f02a0 \
                    size    94347

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        version     2.0.5
        epoch       1
        revision    0
        checksums   rmd160  fa8b43558dfa42429dafc89984e4e65f92687213 \
                    sha256  0246113cb2492db875c6be56974a7c893333bf26cd92891c85f63151cee09d34 \
                    size    75854
        depends_build-append \
                    port:py${python.version}-setuptools
    }

    test.run        yes
}
