# -*- 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        gitpython-developers GitPython 3.1.14
name                py-gitpython
revision            0

platforms           darwin
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         A python library used to interact with Git repositories.
long_description    GitPython provides object model access to your git \
                    repository. Once you have created a repository object, you \
                    can traverse it to find parent commit(s), trees, blobs, etc.

checksums           rmd160  73ddde7f2b63737ea58bbdca58df09e19045d050 \
                    sha256  9267df553ae8735db91e24a2058b915387c07f85c556552477f54bb6abf64963 \
                    size    449261

python.versions     27 36 37 38 39

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        github.setup    gitpython-developers GitPython 2.1.15
        revision        0
        checksums       rmd160  209cf71e22518e3fb0b24376154bb03aabbca93f \
                        sha256  ec23cdd597fcf7c16fa8c1a9311ade6eecef4f3e6c1feb953e1a9eaf170445da \
                        size    523535
    }

    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-gitdb

    livecheck.type  none
}
