# -*- 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-icalendar
version             6.1.0
revision            0

license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         The iCalendar package is a parser/generator of \
                    RFC 2445 iCalendar files.
long_description    The inspiration has come from the email package in \
                    the standard lib, which I think is pretty simple, \
                    yet efficient and powerful. The package can both \
                    generate and parse iCalendar files, and can easily \
                    be used as is. The aim is to make a package that \
                    is fully compliant to RFC 2445, well designed, \
                    simple to use and well documented.

homepage            https://icalendar.readthedocs.org/

checksums           rmd160  ed40725872ffd2517e678e2034edeb57a48ac0c0 \
                    sha256  43c2db8632959d634f4e48f6e6131e706bf2cdddad488cf0b72fda079b796bad \
                    size    142307

python.versions     312 313
python.pep517_backend   hatch

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-hatch-vcs

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

    test.run        yes
    depends_lib-append \
                    port:py${python.version}-hypothesis \
                    port:py${python.version}-tz
}
