# -*- 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 3.2.1 RELEASE_
name                py-XlsxWriter
revision            0

python.versions     39 310 311 312 313
license             BSD
maintainers         {eborisch @eborisch} \
                    openmaintainer
supported_archs     noarch
platforms           {darwin any}

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  6b27573b70cedb2171dff0e2e2725b67c81db0ed \
                    sha256  3066a722fa06c6b65bfaae8fdb34786266950505b18ae41c7432fe9088ed28ba \
                    size    24309466

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