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

github.setup        arc90 git-sweep 0.1.1
name                py-git-sweep
categories-append   devel
platforms           darwin
license             MIT
maintainers         nomaintainer

description         clean up Git branches that have been merged into master
long_description    Command-line tool to help ${description}

checksums           rmd160  ea6ceb719a2dd75fb5e4ad74c2073a7608d896c0 \
                    sha256  b35fd6075527335946c7010f2d74c6ec3b1e5690a42e74aa0f2dff409d49c6e9

python.versions     27

if {${name} ne ${subport}} {
    livecheck.type      none
    depends_build       port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-gitpython \
                        port:py${python.version}-gitdb \
                        port:git-sweep_select
    select.group        git-sweep
    select.file         ${filespath}/python${python.version}
    livecheck.type      none
}