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

python.versions     39 310 311 312

maintainers         {stromnov @stromnov} openmaintainer

description         Mustache for Python

long_description    Pystache is a Python implementation of Mustache. \
                    Mustache is a framework-agnostic, logic-free templating \
                    system inspired by ctemplate and et.

homepage            https://github.com/defunkt/pystache

checksums           rmd160  8fa946af471b7f6111327ad8ee70e0823964a01e \
                    sha256  9f238d5a06f18843e0d491d8e4e292dc03fed6a54cb0a5c34be37a3faa973174 \
                    size    100731

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools_scm
    if {${python.version} < 310} {
        depends_lib-append  port:py${python.version}-importlib-metadata
    }
}
