# -*- 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-calver
version             2025.10.20
revision            0

categories-append   science
license             Apache-2
maintainers         {mps @Schamschula} openmaintainer
description         setuptools extension for automatically defining your Python package \
                    version as a calendar version
long_description    The calver package is a setuptools extension for automatically \
                    defining your Python package version as a calendar version.
homepage            https://github.com/di/calver

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  36f81049c332e24aee3d8ba4ccf923b2dd807bc8 \
                    sha256  c98b376c2424642224d456b2f70c51402343e008c63d204634665e1a2a2835f5 \
                    size    8101

python.versions     37 38 39 310 311 312 313 314

if {${name} ne ${subport}} {
    if {${python.version} <= 38} {
        version     2022.06.26
        revision    0
        checksums   rmd160  c7d61c4556aad4036481dbe7440b642ca153b578 \
                    sha256  bf9269675424b9d0b27a0fc88066ed667f312623880c83393f2cd65081ff03e7 \
                    size    7598
    }
}
