# -*- 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.4.2
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  a4a933d800ea961e020e75fb14ab89b0e178a978 \
                    sha256  f854bb865a070da3d45f989f812b2fb6847a10c2d5a7490490ec16832617a463 \
                    size    7719

python.versions     37 38 39 310 311 312 313

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