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

name                py-setuptools_scm_git_archive
version             1.1
categories-append   devel
platforms           darwin
license             MIT
supported_archs     noarch

master_sites        pypi:s/setuptools_scm_git_archive
distname            setuptools_scm_git_archive-${version}

python.versions     27 35 36 37 38 39

maintainers         {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer

description         Plugin for setuptools_scm that add support for git archives.
long_description    ${description}

homepage            https://github.com/Changaco/setuptools_scm_git_archive

checksums           rmd160  7e205e075ae4e78d70ca266ba8898be04018ab23 \
                    sha256  6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062 \
                    size    3050

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-setuptools_scm

    depends_test-append port:py${python.version}-pytest
    test.run            yes
    test.cmd            py.test-${python.branch}
    test.target         tests.py

    livecheck.type      none
}
