# $Id: Portfile 63057 2010-01-24 21:14:38Z raimue@macports.org $

PortSystem    1.0
PortGroup     python26 1.0

name          bzr-svn
epoch         1
version       1.0.2
set branch    [join [lrange [split ${version} .] 0 1] .]
categories    devel python
platforms     darwin
maintainers   raimue

description   Plugin that allows direct access to Subversion repositories
long_description  A bzr plugin that allows most bzr commands to work \
    directly against Subversion repositories, as if you were using bzr \
    with a native bzr repository. The plugin can at the moment be used to \
    commit to, pull from, merge from, push to and view logs of Subversion \
    branches from Bazaar.

homepage      http://bazaar-vcs.org/BzrForeignBranches/Subversion
master_sites  https://launchpad.net/${name}/${branch}/${version}/+download/

checksums     md5     8408420491a46c0db54749b14491368a \
              sha1    7438c2be443fbfeab9bc88c582b4a1f46effecb1 \
              rmd160  996e96ac3cab3efa5f12baa34b68c265361cc153

depends_lib-append  port:bzr \
                    port:bzr-rebase \
                    port:py26-subvertpy

universal_variant   no

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