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

github.setup        teemtee fmf 1.7.0
github.tarball_from archive

name                py-fmf
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             GPL-2
maintainers         {sub-pop.net:link @subpop} openmaintainer

description         Flexible Metadata Format
long_description    {*}${description}

homepage            https://github.com/psss/fmf

checksums           rmd160  d58fb4685dd88f1ff6f94e500819dc1fc9976601 \
                    sha256  946225ca20260ae5c874e67df7abd0a11abcdf60ff6533997821fc0010bd98c1 \
                    size    92435

python.versions     310 311 312
python.pep517_backend  hatch

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-hatch-vcs
    depends_lib-append \
                    port:py${python.version}-filelock \
                    port:py${python.version}-jsonschema \
                    port:py${python.version}-ruamel-yaml
}

