# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        omry omegaconf 2.0.6 v
revision            0
name                py-${github.project}

license             BSD-3
maintainers         nomaintainer
platforms           darwin

description         Flexible Python configuration system. The last one you will ever need.

long_description    OmegaConf is a hierarchical configuration system, \
                    with support for merging configurations from \
                    multiple sources (YAML config files, \
                    dataclasses/objects and CLI arguments) providing a \
                    consistent API regardless of how the configuration \
                    was created.

checksums           rmd160  a3b7fc3cc31ec2e983965ed927ea5c6d9e9a32a2 \
                    sha256  088e2a0b6aad6d854cd9c97fa607c0ed94b19fc9a95942112296ecc2a957dbad \
                    size    119944

python.versions     37 38 39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-brotli \
                    port:py${python.version}-pip \
                    port:py${python.version}-pytest-runner \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-wheel

    depends_test-append \
                    port:py${python.version}-pytest

    test.run        yes
    test.cmd        py.test-${python.branch}
    test.target     tests
}
