# $Id: Portfile 91671 2012-04-07 14:01:43Z raimue@macports.org $

PortSystem    1.0
PortGroup     python27 1.0

name          bzr-git
version       0.6.8
set branch    [join [lrange [split ${version} .] 0 1] .]
categories    devel python
platforms     darwin
license       GPL-2+
maintainers   raimue

description   Plugin that adds support for git repositories
long_description \
              A plugin for bzr to work with git trees. All operations except \
              for \"push\" are supported.

homepage      http://wiki.bazaar.canonical.com/ForeignBranches/Git
master_sites  https://launchpad.net/${name}/trunk/${version}/+download/ \
              http://samba.org/~jelmer/bzr/

checksums     rmd160  b31966b76f72a9cff4b0073a68c75fd7e35e69f5 \
              sha256  b157db228717900d109990df349c656d2297803a20f88edb8280f2e9d73bfc27

depends_lib-append  port:bzr \
                    port:py27-dulwich

python.link_binaries_suffix

livecheck.type      regex
livecheck.url       https://launchpad.net/${name}/+download
livecheck.regex     {bzr-git-(\d+(?:\.\d+)*).tar.gz}
