# -*- 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-presets
version             1.0.0
revision            0

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

description         A python module to manipulate default parameters \
                    of a module's functions.
long_description    {*}${description}

checksums           rmd160  a535ec213b83a0d3591c80d9dfdd7200c6f1ff56 \
                    sha256  8eb49a436c5ddf7109167da7f3c15da7e7c5ca38bd1aae0ff6c013eb92d7c950 \
                    size    4726

python.versions     313

if {${name} ne ${subport}} {
    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}

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