# -*- 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-ez_setup
version             0.9

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         To solve a setuptools problem
long_description	{*}${description}

homepage            https://pypi.python.org/pypi/ez_setup/
master_sites        pypi:e/ez_setup/
distname            ez_setup-${version}

checksums           rmd160  796b5364e8e64455468b76b4f8a2fd10f0389d1b \
                    sha256  303c5b17d552d1e3fb0505d80549f8579f557e13d8dc90e5ecef3c07d7f58642 \
                    size    6577

python.versions     27

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath} NEWS.txt \
            README.rst ${destroot}${prefix}/share/doc/${subport}
    }
}
