PortSystem    1.0
PortGroup     python 1.0

name          bzr-git
version       0.6.8
set branch    [join [lrange [split ${version} .] 0 1] .]
categories    devel python
platforms     {darwin any}
supported_archs noarch
license       GPL-2+
maintainers   {raimue @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      https://launchpad.net/${name}
master_sites  https://launchpad.net/${name}/trunk/${version}/+download/ \
              http://samba.org/~jelmer/bzr/

checksums     rmd160  b31966b76f72a9cff4b0073a68c75fd7e35e69f5 \
              sha256  b157db228717900d109990df349c656d2297803a20f88edb8280f2e9d73bfc27

python.default_version  27

depends_lib-append  port:bzr \
                    port:py${python.version}-dulwich

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