# -*- 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-tempora
version             5.8.1
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT

maintainers         {khindenburg @kurthindenburg} openmaintainer

description         Objects and routines pertaining to date and time (tempora)
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/${python.rootname}

checksums           rmd160  d5d74ad901518c2309baab5c756888a1e2e89d12 \
                    sha256  abb5d9ec790cc5e4f9431778029ba3e3d9ba9bd50cb306dad824824b2b362dcd \
                    size    23072

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools_scm \
                            port:py${python.version}-coherent.licensed
    depends_lib-append      port:py${python.version}-jaraco.functools \
                            port:py${python.version}-setuptools \
                            port:py${python.version}-six \
                            port:py${python.version}-toml

    depends_test-append port:py${python.version}-py \
                        port:py${python.version}-freezegun

    test.run            yes
}
