# -*- 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.9
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  7ff19360f44ae910100ed1ddf1e9656f7ba5abde \
                    sha256  2df8bdbd2b7898f404a2fd61f6eeb8641ccd191d4878b5d1853f3507bd22b2c6 \
                    size    240155

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
}
