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

name                py-olefile
version             0.44
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     26 27 33 34 35 36

maintainers         nomaintainer

description         Python package to parse read and write Microsoft OLE2 files (Structured \
                    Storage or Compound Document Microsoft Office) - Improved version of the \
                    OleFileIO module from PIL, the Python Image Library.
long_description    ${description}

homepage            https://www.decalage.info/python/olefileio
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  e85ff631ac1992b5b59dcf98ced566c7778d2ea4 \
                    sha256  61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad

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

    use_zip             yes

    livecheck.type      none
}