PortSystem    1.0
PortGroup     python 1.0

name          bzr-explorer
epoch         1
version       1.3.0
set branch    [join [lrange [split ${version} .] 0 1] .]
categories    devel python
platforms     darwin
supported_archs noarch
license       GPL-2+
maintainers   {raimue @raimue}

description   A graphical frontend for using bzr
long_description \
    bzr-explorer is a desktop application for using the bzr Version Control \
    System. It provides a high level interface to all commonly used features, \
    launching \"applets\" from the QBzr plug-in to provide most of the \
    functionality. Alternatively, the applets from the bzr-gtk plug-in can be \
    used if it is installed.
homepage      http://doc.bazaar.canonical.com/explorer/en/
master_sites  https://launchpad.net/${name}/${branch}/${version}/+download/

checksums     md5     7d1de6a744a1daf4b194885209cf67c4 \
              rmd160  208c06921816d743c74ed0cba8c94102cea3e51c \
              sha256  e3584df263a5004765a224cc38d00449e0ad47495070edae59ecbcc4dac94086

python.default_version  27

depends_lib-append  port:qbzr

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