# -*- 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.1.1
platforms           darwin
license             Permissive
maintainers         pixilla openmaintainer

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

homepage            https://github.com/boto/jmespath
master_sites        pypi:j/jmespath-terminal
distname            jmespath-terminal-${version}

checksums           rmd160  a3d5fc3c05fe2e9e71fab9c6d9f6acfeac7ce39f \
                    sha256  df26ac6fa774676b4c0eff155bdb2f9ddf0c78c013b5b4824b597f44793903f0

python.versions     27 34 35 36

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

    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
}