# -*- 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-whenever
version             0.8.8
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT

maintainers         {breun.nl:nils @breun} openmaintainer

description         Typed and DST-safe datetimes for Python.
long_description    {*}${description} \
                    \n\
                    Whenever helps you write correct and type checked datetime \
                    code, using well-established concepts from modern \
                    libraries in other languages. It's also way faster than \
                    other third-party libraries, and usually the standard \
                    library as well.

homepage            https://pypi.org/project/whenever/

checksums           rmd160  057b373ee7053df38ad9dbe783c9d4fef80b3602 \
                    sha256  d0674d410fbbcf495f6cca0f1f575279e402887d20e4c1ca7d11309cd41b8125 \
                    size    235496

python.versions     313

if {${name} ne ${subport}} {
    # Use pure Python version: https://whenever.readthedocs.io/en/latest/faq.html#how-can-i-use-the-pure-python-version
    build.env           WHENEVER_NO_BUILD_RUST_EXT=1
}
