# -*- 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-donfig
version             0.8.1.post1
revision            0
license             BSD MIT
maintainers         {mps @Schamschula} openmaintainer
description         Donfig is a python library meant to make configuration easier for \
                    other python packages. Donfig can be configured programmatically, \
                    by environment variables, or from YAML files in standard locations.
long_description    {*}${description}
homepage            https://github.com/pytroll/donfig

checksums           rmd160  86e02fce2e0cf231d545eababe45490d37c82ca4 \
                    sha256  3bef3413a4c1c601b585e8d297256d0c1470ea012afa6e8461dc28bfb7c23f52 \
                    size    19506

python.versions     39 310 311 312 313

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

    depends_lib-append  \
                    port:py${python.version}-yaml

    patchfiles      patch-pyproject.toml.diff
}
