# -*- 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.47
revision            0
categories-append   devel
platforms           {darwin any}
license             BSD
supported_archs     noarch

python.versions     27 310 311 312 313 314

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

use_zip             yes
checksums           rmd160  16b776d67233077d48b5e33e7ad110149b58c8af \
                    sha256  599383381a0bf3dfbd932ca0ca6515acd174ed48870cbf7fee123d698c192c1c \
                    size    112240

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

    test.run        yes
    python.test_framework nose
}
