# -*- 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-versioneer
version             0.29
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             public-domain
maintainers         {reneeotten @reneeotten} openmaintainer

description         Easy VCS-based management of project version strings
long_description    {*}${description}

homepage            https://github.com/python-versioneer/python-versioneer

checksums           rmd160  a2ef5b57924eb25d47763729b074b33addf2128e \
                    sha256  5ab283b9857211d61b53318b7c792cf68e798e765ee17c27ade9f6c924235731 \
                    size    75141

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    if {${python.version} < 311} {
        depends_build-append \
                    port:py${python.version}-tomli
    }
}
