# -*- 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        jmcnamara XlsxWriter 1.3.7 RELEASE_
name                py-XlsxWriter

python.versions     27 36 37 38
platforms           darwin
license             BSD
maintainers         {eborisch @eborisch} \
                    openmaintainer
supported_archs     noarch

description         Python module for writing files in XLSX file format.

long_description    XlsxWriter can be used to write text, numbers, formulas \
                    and hyperlinks to multiple worksheets and it supports \
                    features such as formatting and many more.

checksums \
    rmd160  ccaea534056b475062b9042edaf4e79401db9855 \
    sha256  2f9fc304a16a3598e94b90e72c16e5eff0c954203d94d175d8b07b991ef84de8 \
    size    32547845

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

    post-destroot {
        set DOCDIR ${destroot}${prefix}/share/doc/${subport}
        xinstall -d ${DOCDIR}
        xinstall -m 0644 -W ${worksrcpath} LICENSE.txt ${DOCDIR}
    }

    livecheck.type  none
}
