# -*- 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
PortGroup           github 1.0

github.setup        insanum gcalcli 4.3.0 v
github.tarball_from archive
revision            1

categories-prepend  office
maintainers         nomaintainer
license             MIT
supported_archs     noarch
platforms           {darwin any}

description         Google Calendar Command Line Interface
long_description \
    gcalcli is a Python application that allows you to access your Google Calendar \
    from a command line. It is easy to get your agenda, search for events and \
    quickly add new events. Additionally, gcalcli can be used as a reminder \
    service to execute any application you want.

checksums           rmd160  a2ded1eb584239cc0514199f312d836e67ecf135 \
                    sha256  597d96ee1c8b5f094cca75a059cb1a0056a612e734c32012ef0d41219ac3b0cd \
                    size    1702967

python.default_version  310
python.pep517       yes

depends_lib-append  port:py${python.version}-dateutil \
                    port:py${python.version}-google-api \
                    port:py${python.version}-httplib2 \
                    port:py${python.version}-oauth2client \
                    port:py${python.version}-parsedatetime \
                    port:py${python.version}-vobject

depends_test-append \
                port:py${python.version}-pytest

test.run        yes
test.cmd        py.test-${python.branch}
test.args       -o addopts=''
test.target
test.env        PYTHONPATH=${worksrcpath}/build/lib
