# -*- 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
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 37
homepage https://pypi.python.org/pypi/${python.rootname}/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
checksums rmd160 8399ff42d9cb70cbc1f73c6b375fc6bc7d508ca3 \
sha256 2519ad1d8038fd5fc8e770362237ad0364d16a7650fb5724af6997ed5515e3c1 \
if {${name} ne ${subport}} {
if {${python.version} in "27 34"} {
checksums rmd160 195e01e80e62e631f7c4b12d4f2cd5d4481a0752 \
sha256 858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917 \
distname ${python.rootname}-${version}
port:py${python.version}-setuptools
port:py${python.version}-pygments \
port:py${python.version}-six \
port:py${python.version}-wcwidth
port:py${python.version}-pytest
test.cmd py.test-${python.branch}
test.env PYTHONPATH=${worksrcpath}/build/lib
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE AUTHORS.rst \
README.rst CHANGELOG ${destroot}${docdir}
copy ${worksrcpath}/examples ${destroot}${docdir}/examples