# -*- 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-mako
python.rootname     Mako
version             1.1.6
revision            0
categories-append   www
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         A super-fast templating language that borrows \
                    the best ideas from the existing templating \
                    languages.

long_description    Mako is a template library written in Python. \
                    It provides a familiar, non-XML syntax which \
                    compiles into Python modules for maximum \
                    performance. Mako's syntax and API borrows from \
                    the best ideas of many others, including Django \
                    templates, Cheetah, Myghty, and Genshi. Conceptually, \
                    Mako is an embedded Python (i.e. Python Server Page) \
                    language, which refines the familiar ideas of \
                    componentized layout and inheritance to produce one \
                    of the most straightforward and flexible models \
                    available, while also maintaining close ties to \
                    Python calling and scoping semantics.

homepage            https://www.makotemplates.org/

checksums           rmd160  542024ab96ad5443cc44210f927b25915f5ce70e \
                    sha256  4e9e345a41924a954251b95b4b28e14a301145b544901332e658907a7464b6b2 \
                    size    495132

if {${name} ne ${subport}} {
    # Mako depends on pkg_resources from setuptools
    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-beaker \
                        port:py${python.version}-markupsafe

    livecheck.type      none
}
