# -*- 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-unidiff
version             0.7.5
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Unified diff parsing/metadata extraction library.
long_description    {*}${description}

homepage            https://github.com/matiasb/python-unidiff

checksums           rmd160  f4f85b027a0a2e7bd36e0f9268b56cd82014edd2 \
                    sha256  2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574 \
                    size    20931

python.versions     310 311 312

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst HISTORY \
            LICENSE ${destroot}${docdir}
    }

    test.run        yes
}
