# -*- 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.3.1
revision            0

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

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/

checksums           rmd160  e2c9c98bf03fb0a3b09aad96986d642875546373 \
                    sha256  b51cd33c36319cf8ab4bade81d16df3e7135af01ffa3f51a60e131b9d5156cd3 \
                    size    7946745

python.versions     311 312 313 314 315
python.pep517_backend flit

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

    test.run        yes
}
