# -*- 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-croniter
version             6.2.3
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         croniter provides iteration for datetime object with cron \
                    like format
long_description    {*}${description}

homepage            https://github.com/kiorky/croniter

checksums           rmd160  0b2d4ebede0475f5b2412a597a30fa362d79316b \
                    sha256  fb129986ef7e2c44e3f4c9f503da83ad914d2afa48f40a43ee3dca4b5c41d476 \
                    size    166174

python.versions     310 311 312 313 314
python.pep517_backend hatch

if {${name} ne ${subport}} {
    patchfiles      patch-pyproject.toml.diff

    depends_lib-append \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-tz

    test.run        yes
}
