# -*- 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        scanny python-pptx 0.6.18 v
name                py-pptx
python.versions     27 36 37 38
python.default_version 27
platforms           darwin
license             MIT
maintainers         {eborisch @eborisch} \
                    openmaintainer
supported_archs     noarch

description         Python module for creating and updating PowerPoint files.

long_description    A typical use would be generating a customized PowerPoint \
                    presentation from database content, downloadble by\
                    clicking a link in a web application. Several developers\
                    have used it to automate production of presentation-ready\
                    engineering status reports based on information held in\
                    their work management system. It could also be used for\
                    making bulk updates to a library of presentations or\
                    simply to automate the production of a slide or two that\
                    would be tedious to get right by hand.


checksums           rmd160  af8536421ae8c147fb327144760d72ac47264eb0 \
                    sha256  56668f654f424f97792d22e666358effbb6f7c95d8c80112e64f6bbc18b2cc4e \
                    size    49027278

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

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

    livecheck.type  none
}
