# -*- 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
version             3.10.2
revision            0
categories-append   textproc
license             BSD
supported_archs     noarch
platforms           {darwin any}

python.versions     27 310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Python implementation of Markdown

long_description    This is a Python implementation of John Gruber’s \
                    Markdown. It is almost completely compliant with \
                    the reference implementation, though there are a \
                    few very minor differences.

homepage            https://python-markdown.github.io/

checksums           rmd160  d9448040eeb38037d45369a0f08b1e7f8c9492c8 \
                    sha256  994d51325d25ad8aa7ce4ebaec003febcce822c3f8c911e3b17c52f7f589f950 \
                    size    368805

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        version             3.1.1
        revision            0
        python.rootname     Markdown
        distname            ${python.rootname}-${version}
        checksums           rmd160  770c41f726e57b64e2c27266e6b0cf8b7bf895ab \
                            sha256  2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a \
                            size    294136

        # Uses pkg_resources at runtime
        depends_lib-append  port:py${python.version}-setuptools
    }

    livecheck.type      none
}
