# $Id: Portfile 67598 2010-05-13 21:44:00Z raimue@macports.org $

PortSystem    1.0
PortGroup     python26 1.0

name          qbzr
version       0.18.6
set branch    [join [lrange [split ${version} .] 0 1] .]
categories    devel python
platforms     darwin
maintainers   raimue

description   QBzr is a GUI front end for bzr, based on Qt
long_description QBzr provided GUI frontend for many core bzr commands and \
    several universal dialogs and helper commands. Equivalents for core bzr \
    commands has the same names as CLI commands but with prefix \"q\".
homepage      http://wiki.bazaar.canonical.com/QBzr
master_sites  https://launchpad.net/${name}/${branch}/${version}/+download/

checksums     md5     8a2219f33bedf3ea4b07d54d19bfc995 \
              sha1    2ccea5945f4591c18bb148ff87db805a50bd6fba \
              rmd160  ee81a0926c773f665161e14eb13f09db22ec4c21

worksrcdir    ${name}

depends_lib-append  port:bzr \
                    port:py26-pyqt4 \
                    port:py26-pygments

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