# -*- 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-uv-dynamic-versioning
version             0.14.0
revision            0

categories-append   devel
platforms           any
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Dynamic versioning based on VCS tags for uv/hatch project
long_description    {*}${description}

homepage            https://github.com/ninoseki/uv-dynamic-versioning

distname            uv_dynamic_versioning-${version}

checksums           rmd160  97ac491da9afef91c012baa2903daa5238a27c1e \
                    sha256  574fbc07e87ace45c01d55967ad3b864871257b98ff5b8ac87c261227ac8db5b \
                    size    47203

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-dunamai \
                    port:py${python.version}-hatchling \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-tomlkit
}
