# -*- 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-markupsafe
version             1.0
categories-append   textproc
platforms           darwin
license             BSD

python.versions     26 27 33 34 35 36

maintainers         {perry @lperry} openmaintainer

description         Implements a XML/HTML/XHTML Markup safe string for Python
long_description    ${description}

homepage            http://www.pocoo.org/projects/markupsafe/
master_sites        pypi:M/MarkupSafe

distname            MarkupSafe-${version}

checksums           rmd160  625a540aafd068e65a7d61693862d7cdc8e9d0a1 \
                    sha256  a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665 \
                    size    14356

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools

    test.run                yes
    test.cmd                ${python.bin} setup.py

    livecheck.type          none

} else {
    livecheck.name          Markupsafe
}