# -*- 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

PortSystem        1.0
PortGroup         github 1.0
PortGroup         python 1.0

name              py-subvertpy
github.setup      jelmer subvertpy 0.10.1 subvertpy-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
python.versions   27

categories-append devel
license           LGPL-2.1+
maintainers       {danchr @danchr} openmaintainer

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://www.samba.org/~jelmer/subvertpy/

checksums         rmd160  d22bfd0a6df77ff001705613c923c99f8f2267ae \
                  sha256  3199ab7cd9b5a09d8d3d9618ef3b2b85a863d8edc33f84ec343239372d4437b4 \
                  size    119119

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

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

    test.run             yes
    test.cmd             ${build.cmd} test
    test.args            --args=-vf
}