# -*- 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-appdirs
version             1.4.4
revision            0

platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
license             MIT

description         module that finds where to keep user data
long_description    A Python module for determining appropriate \
                    platform-specific per-user directories for data, \
                    configuration files, etc.

homepage            https://github.com/ActiveState/appdirs

checksums           rmd160  9cb319eaad2555f163855a2d14bc8104f741496e \
                    sha256  7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 \
                    size    13470

python.versions     310 311 312 313 314

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

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