# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name hdfs set _n [string index ${_name} 0] name py-${_name} version 2.0.4 categories-append net sysutils parallel platforms darwin supported_archs noarch license MIT maintainers petr 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 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 # Adding documentation post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 755 -W ${worksrcpath} \ LICENSE \ README.rst \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }