# -*- 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.0 v
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  d81e3211a1b829b84e9df17785c2209424cb7635 \
                    sha256  f95f721f09bb4b36ca9079eba1a7123f049177caaa8384856e8edc1bca12d043

python.versions     27 34 35

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

    livecheck.type  none
}