# -*- 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           python 1.0
PortGroup           github 1.0

github.setup        libgit2 pygit2 0.26.3 v
revision            1
name                py-pygit2

categories-append   devel
license             BSD
platforms           darwin
supported_archs     noarch
maintainers         sean openmaintainer

description         Python bindings for libgit2
long_description    Pygit2 is a set of Python bindings to the libgit2 shared \
                    library, libgit2 implements the core of Git.

checksums           rmd160  8eb7da0d01c4690c9a78d68f0d3218b5416521f4 \
                    sha256  b40164b3a12d6e9e850713e4b97c1f923bbeb168c6b98dfab87bcb6f467ba671 \
                    size    467840

python.versions     27 34 35 36

if {${name} ne ${subport}} {
    depends_lib-append  port:libgit2 \
                        port:py${python.version}-cffi \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-six

    livecheck.type  none
}