# $Id: Portfile 88650 2012-01-06 17:08:52Z raimue@macports.org $

PortSystem        1.0
PortGroup         python 1.0

name              py-subvertpy
version           0.8.9
python.versions   24 25 26 27
categories        python devel
maintainers       gmail.com:danchr openmaintainer
platforms         darwin
description       Alternative Python bindings for Subversion (svn)
long_description  Alternative Python bindings for Subversion, split out \
  from bzr-svn. The goal is to have complete, portable and "Pythonic" \
  Python bindings.

homepage          https://launchpad.net/subvertpy/
master_sites      ${homepage}trunk/${version}/+download \
                  http://samba.org/~jelmer/subvertpy
distname          subvertpy-${version}

checksums         rmd160  54fcfd1522d4b3c6ba614e6dbcaf5f35672b0240 \
                  sha256  28fd9042f657517a816c20f1be477ebed15e9934b65b225472a2c82a1e13f28f

if {${subport} != ${name}} {
    depends_lib-append  port:subversion

    build.env-append  SVN_PREFIX=${prefix}

    destroot.env-append  SVN_PREFIX=${prefix}
}

livecheck.type    regex
livecheck.url     ${homepage}/+download
livecheck.regex   {subvertpy-(\d+(?:\.\d+)*).tar.gz}
