PortSystem 1.0
PortGroup python 1.0

name                py-xmldiff
version             2.6.3
revision            0
categories-append   textproc
license             MIT
platforms           {darwin any}
supported_archs     noarch
maintainers         {snc @nerdling} openmaintainer
description         A library and command line utility for diffing xml
long_description    xmldiff is a library and a command-line utility for making diffs out\
                    of XML. This may seem like something that doesn’t need a dedicated \
                    utility, but change detection in hierarchical data is very \
                    different from change detection in flat data. XML type formats are \
                    also not only used for computer readable data, it is also often \
                    used as a format for hierarchical data that can be rendered into \
                    human readable formats. A traditional diff on such a format would \
                    tell you line by line the differences, but this would not be be \
                    readable by a human. xmldiff provides tools to make human readable \
                    diffs in those situations.

homepage            https://github.com/Shoobx/xmldiff
master_sites        pypi:x/xmldiff
distname            xmldiff-${version}

checksums           rmd160  edb6c97ebf3c7b218898c54d9093791cfd10c77c \
                    sha256  19b030b3fa37d1f0b5c5ad9ada9059884c3bf2c751c5dd8f1eb4ed49cfe3fc60 \
                    size    86132

python.versions     37 38 39 310 311
python.pep517       yes

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

    test.run            yes
    livecheck.type  none
}
