# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
# $Id: Portfile 119775 2014-05-06 12:59:17Z g5pw@macports.org $
PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        ralphbean taskw 0.8.2
name                py-${name}
maintainers         g5pw openmaintainer

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.
platforms           darwin
license             GPL-3

python.versions     27 33 34

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

    checksums           rmd160  42c14a9b9f8cb40f0914499402accb719bbeae6e \
                        sha256  ae1710e83094eab7367d1a22147b99f2d48bfb8b3ea15e6dc158eb86d949e3f9

    livecheck.type      none
}
