# -*- 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
PortGroup           github 1.0

github.setup        Yelp mrjob 0.6.12 v
name                py-mrjob
revision            0

categories-append   parallel
platforms           darwin
supported_archs     noarch
license             Apache-2
maintainers         {petr @petrrr} openmaintainer

description         Python MapReduce framework
long_description    \
    mrjob is a Python package that helps you write and run Hadoop Streaming \
    jobs. It fully supports Amazon's Elastic MapReduce (EMR) service, which \
    allows you to buy time on a Hadoop cluster on an hourly basis. It also \
    works with your own Hadoop cluster.

checksums           rmd160  9aa30d419bca2917f8bd495f76e36ead0c123262 \
                    sha256  5fb72ad6f2f1bb13696dc97c918cb59c29d675d7afe5f84307d31856b545c144 \
                    size    1676800

python.versions     27 35 36 37

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-boto \
                    port:py${python.version}-botocore \
                    port:py${python.version}-yaml \
                    port:py${python.version}-setuptools

    post-destroot {
        set dest_doc ${destroot}${prefix}/share/doc/${subport}
        xinstall -d ${dest_doc}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
            CHANGES.txt CONTRIBUTING.rst ${dest_doc}
    }

    livecheck.type  none
}