# -*- 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
set _n [string index ${_name} 0]
categories-append net sysutils parallel
maintainers {petr @petrrr} openmaintainer
description API and command line interface for HDFS
long_description ${description}
homepage http://hdfscli.readthedocs.org/
distname ${_name}-${version}
master_sites pypi:${_n}/${_name}/
checksums md5 c48b86a0fb05d22b5f4eb4cb84fc6452 \
rmd160 442f119b819afecb20ab3f13096c3a8a8827542f \
sha256 c62038dec3d2a7d5344ceb3aa2a721dfaf35e46a311676d74f91d3cb2a866055
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}-docopt \
port:py${python.version}-requests \
port:py${python.version}-six
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -W ${worksrcpath} \
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""