# -*- 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.3.1
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  aa2ba0ae8d8b2e8b0ebf91178fffb5862cc454b8 \
                    sha256  a697ce7b678072941e519f2745704fc29d78ef92a2dc53d9108ba6a04aeba466 \
                    size    177169

python.versions     312 313
python.pep517_backend   hatch

if {${name} ne ${subport}} {
    depends_build-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
}
