# -*- 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        ralphbean taskw 0.8.6
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-${name}
maintainers         nomaintainer

description         Python API for the taskwarrior
long_description    {*}${description}. It contains two implementations: \
                    taskw.TaskWarrior and taskw.TaskWarriorExperimental. The \
                    first implementation is relatively stable. It manipulates \
                    the ~/.task/ dbs directly. The second implementation is in \
                    alpha and will be made default some day. It interacts with \
                    taskwarrior by shelling out to taskwarrior import and \
                    export commands as per the upstream guidelines.
license             GPL-3
platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  8b0f28979f891a9f4b74bf5838247a561f662d59 \
                    sha256  02dec2f59bcc710a3b12b6a08d62df83ea747a83011c7d647d744c97f3e9d196 \
                    size    35745

python.versions     39 310 311

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-six
    depends_run-append  port:task
}
