# -*- 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-confuse
version             2.0.1
revision            0

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

description         painless YAML config files for Python
long_description    Confuse is a configuration library for Python that uses YAML. \
                    It takes care of defaults, overrides, type checking, command-line integration, \
                    human-readable errors, and standard OS-specific locations.

homepage            https://pypi.org/project/confuse/

maintainers         nomaintainer

checksums           rmd160  8e84892813d70dc267984afbf72547d1718a59b2 \
                    sha256  7379a2ad49aaa862b79600cc070260c1b7974d349f4fa5e01f9afa6c4dd0611f \
                    size    50872

python.versions     310 311 312 313

python.pep517_backend \
                    flit

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-yaml

    test.run        yes
}
