# -*- 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        T0ha ezodf 0.2.5
name                py-ezodf
revision            0

platforms           darwin
supported_archs     noarch
license             MIT
maintainers         {@Synss gmail.com:Mathias.Laurin+macports} openmaintainer

description         Python package to create or open OpenDocument files.
long_description    ezodf is a Python package to create new or open existing\
                    OpenDocument (ODF) files to extract, add, modify or delete\
                    document data.

checksums           rmd160  add33e930e302f84971099da2db86bca225d468a \
                    sha256  f73f56f38594e596e6ec3ca90f16b317858023ed340e73ce78fcac8010fed535 \
                    size    135962

python.versions     27 35 36

if {${subport} ne ${name}} {
    patchfiles      patch-ezodf-document.py.diff

    depends_lib-append \
                    port:py${python.version}-lxml

    livecheck.type  none
} else {
    github.livecheck.regex {([0-9.]+)}
}
