PortSystem    1.0
PortGroup     python 1.0

name          bzr-svn
epoch         1
version       1.2.2
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 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     rmd160  41c6303a4fa9caa32df2e655c2851f7ce2de4c6e \
              sha256  8e8049c439f575d97e28e14d49bf3e7b194c02a8c5ca6ce47b91fe2f4b423ad1

python.default_version  27

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

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