# -*- 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.9 RELEASE_
github.tarball_from archive
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  b6b55d6b70ed3d99050f8661dcff3a97d6aa8ce1 \
                    sha256  bab634b7cb46ad0dd184c47ca818b882aa83c1e472609f1dbe2701e99f68a081 \
                    size    24923295

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