# -*- 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-setuptools-git-versioning
python.rootname     setuptools_git_versioning
version             2.1.0
revision            0
license             MIT
platforms           {darwin any}
supported_archs     noarch
maintainers         {mps @Schamschula} openmaintainer
description         Use git repo data (latest tag, current commit hash, etc) for \
                    building a version number according PEP 440.
long_description    {*}${description}
homepage            https://github.com/dolfinus/setuptools-git-versioning

checksums           rmd160  0ea14fa9f8207713c6ba4183926bad038d5fdbb6 \
                    sha256  6aef5b8bb1cfb953b6b343d27cbfc561d96cf2a2ee23c2e0dd3591042a059921 \
                    size    10662

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-packaging \
                    port:py${python.version}-toml
}
