# -*- 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           deprecated 1.0

name                py-pygooglechart
version             0.4.0
revision            0
license             GPL-3+
maintainers         nomaintainer
platforms           darwin
supported_archs     noarch

description         ygooglechart is a complete Python wrapper for the Google Chart API
long_description    ${description}

categories-append   devel

homepage            https://github.com/gak/pygooglechart
master_sites        pypi:p/pygooglechart
distname            pygooglechart-${version}

checksums           sha1    edb63a9f802183ab338210728e0f49ceff2c069d \
                    rmd160  e04f2eb5e11d64b7e8c9befa81074b5ec060b91a \
                    sha256  018d4dd800eea8e0e42a4b3af2a3d5d6b2a2b39e366071b7f270e9628b5f6454 \
                    size    28244

deprecated.upstream_support no

python.versions     27

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

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} COPYING ${destroot}${docdir}
    }

    livecheck.type  none
}