PortSystem 1.0
PortGroup python 1.0

name                py-xmldiff
version             2.4
categories-append   textproc
license             MIT
platforms           darwin
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  8850c9a53e21d3811b8836c0707985d9d75ea037 \
                    sha256  05bea20ce1f2c9678683bcce0c3ba9981f87d92b709d190e018bcbf047eccf63 \
                    size    94826

python.versions     27 37

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

    livecheck.type  none
}
