# -*- 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-anytree
version             2.13.0
revision            0

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

description         Python tree data library
long_description    {*}${description}

homepage            https://github.com/c0fec0de/anytree

checksums           rmd160  18417d050afe6e77f7b41cf712668024b051391b \
                    sha256  c9d3aa6825fdd06af7ebb05b4ef291d2db63e62bb1f9b7d9b71354be9d362714 \
                    size    48389

python.versions     310 311 312 313 314
python.pep517_backend \
                    pdm

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