# -*- 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-prompt_toolkit
version             1.0.14
license             Permissive
platforms           darwin
supported_archs     noarch
maintainers         {@xeron gmail.com:xeron.oskom} openmaintainer
description         Library for building powerful interactive command lines in Python
long_description    ${description}

python.versions     27 34 35 36

homepage            https://pypi.python.org/pypi/${python.rootname}/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  c0c4aa0c917981767d45abf76fdff00c0fb9aa8d \
                    sha256  cc66413b1b4b17021675d9f2d15d57e640b06ddfd99bb724c73484126d22622f

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-wcwidth \
                            port:py${python.version}-pygments \
                            port:py${python.version}-six
    livecheck.type  none
} else {
    livecheck.type  pypi
}