# $Id$

PortSystem    1.0
PortGroup     python 1.0

name          bzrtools
epoch         1
version       2.6.0
set branch    [join [lrange [split ${version} .] 0 1] .]
categories    devel python
platforms     darwin
supported_archs noarch
license       GPL-2+
maintainers   raimue

description   A collection of plugins bzr.
long_description  A collection of plugins for bzr. Including rspush for \
    pushing to a remote server with rsync, baz-import for importing arch \
    or baz branches into bzr, shelve/unshelve for a fine grained 'undo' \
    facility, clean-tree for removing unknown files from the current \
    tree, graph-ancestory for producing graphs of branch history, and \
    many others.

homepage      http://bazaar-vcs.org/BzrTools
master_sites  http://code.launchpad.net/${name}/stable/${version}/+download/
worksrcdir    ${name}

checksums     md5     12a89e60668ce84461c694337e3f4330 \
              rmd160  fe36443d13a0587c1ccb9cfdb99cc081985a7f79 \
              sha256  8b17fbba61dafc8dbefe1917a2ce084a8adc7650dee60add340615270dfb7f58

python.default_version  27

depends_lib-append port:bzr
depends_run-append path:bin/dot:graphviz

variant no_graphviz description {Disable GraphViz, removing Graph Ancestry support} {
    depends_run-delete path:bin/dot:graphviz
}

livecheck.type  regex
livecheck.url   ${homepage}
livecheck.regex {bzrtools-(\d+(?:\.\d+)*).tar.gz}