# -*- 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-jmespath-terminal
version             0.2.1
revision            0
license             Permissive
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         JMESPath, in your terminal!
long_description    {*}${description}

homepage            https://github.com/boto/jmespath

checksums           rmd160  cebee4ce13b29e2bc9a517e89c1b22164b636c7f \
                    sha256  60c538e6c0244d2b58d7ff470839b9742a91b74d685a6cbf2764a4895f133639 \
                    size    6295

python.versions     312

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-urwid \
                        port:py${python.version}-jmespath \
                        port:py${python.version}-pygments

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            ${destroot}${docdir}
    }
}
