# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 107559 2013-07-03 00:39:27Z sean@macports.org $

PortSystem              1.0
PortGroup               python 1.0
PortGroup               bitbucket 1.0

set realname            hgsubversion
bitbucket.setup         durin42 ${realname} 32f6b970c762
name                    py-${realname}
version                 1.5.20130629
categories-append       devel
platforms               darwin
maintainers             sean openmaintainer
supported_archs         noarch
license                 GPL-2+

description             hgsubversion is a Mercurial extension for \
                        working with Subversion (svn) repositories.
long_description        ${description}

checksums               rmd160  e7d7a0ae6346a33e730a656259d822bc68be0ced \
                        sha256  e571edc6d71daeac6ec64fc07e4d6bfcfe67bdb88d6988f24f4317973d6a8755

python.versions         27

if {$subport != $name} {
    depends_lib-append  path:bin/hg:mercurial \
                        port:py${python.version}-subvertpy

    notes               "
To enable ${realname}, add the following to your ~/.hgrc:

\[extensions\]
${realname} = ${python.pkgd}/${realname}
"

    livecheck.type      none
}
