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

github.setup        omry omegaconf 2.3.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
name                py-${github.project}

license             BSD
maintainers         nomaintainer
platforms           {darwin any}
supported_archs     noarch

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  8e0e345424fc02a11e1c6cc6d922d4bca6f76a46 \
                    sha256  e3c8351a5a27c0186ef1e6fdf346d2ad9c55fd29addb8c1637e249afdcb1104c \
                    size    3342698

python.versions     39 310 311

if {${name} ne ${subport}} {
    # Runs a bundled ANTLR .jar
    java.version    11+
    java.fallback   openjdk11
    java.deptypes   build

    test.run        yes
}