# $Id: Portfile 55047 2009-08-06 10:37:57Z raimue@macports.org $

PortSystem    1.0
PortGroup     python25 1.0

name          bzr-svn
epoch         1
version       0.6.4
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     12aa3bc6a52f1585a40dea6879f42fa2 \
              sha1    312805a20a937c24975ad96a9c3aad8d7e82884a \
              rmd160  0340e9bf609a0b38e35ca71623fd0e069856e23b

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

universal_variant   no

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