# -*- 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.10
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT

maintainers         {breun @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  7e7543c00e81120aaae11fe48009ae0859e67155 \
                    sha256  5e2a3da71527e299f98eec5bb38c4e79d9527a127107387456125005884fb235 \
                    size    240223

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
}
