# -*- 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-et_xmlfile
version             1.1.0
revision            0
categories-append   devel textproc
platforms           darwin
license             MIT

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         An implementation of lxml.xmlfile for the standard library
long_description    ${description}

homepage            https://foss.heptapod.net/openpyxl/et_xmlfile

checksums           rmd160  fb17928640eb47bf7892d972be4ff8992ad8bf3b \
                    sha256  8eb9e2bc2f8c97e37a2dc85a09ecdcdec9d8a396530a6d5a33b30b9a92da0c5c \
                    size    3218

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

    if {${python.version} <= 35} {
        version             1.0.1
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  546c03f43315eee98d44e01914b1f4f8191eb584 \
                            sha256  614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b \
                            size    8427
    }

    livecheck.type      none
}
