# -*- 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-xmltodict
version             0.14.2
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {petr @petrrr} openmaintainer

description         Makes working with XML feel like you are working with JSON
long_description    This Python module makes working with XML feel like you \
                    are working with JSON.

homepage            https://github.com/martinblech/xmltodict

checksums           rmd160  96e970f349f1f54e348f3cc015bcfebc97874911 \
                    sha256  201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553 \
                    size    51942

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    test.run        yes

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