# -*- 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-vcversioner
version             2.16.0.0
revision            0
categories-append   devel
license             ISC
supported_archs     noarch
platforms           {darwin any}

maintainers         {stromnov @stromnov} openmaintainer

description         Take version numbers from version control

long_description    Elevator pitch: you can write a setup.py with no \
                    version information specified, and vcversioner \
                    will find a recent, properly-formatted VCS tag and \
                    extract a version from it.

homepage            https://github.com/habnabit/${python.rootname}

checksums           rmd160  b7f3e58ffedb53a6a2824ffbe60c3ec8f01049ee \
                    sha256  dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b \
                    size    9024

python.versions     39

if {${subport} ne ${name}} {
    post-destroot {
        xinstall -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 ${worksrcpath}/README.rst \
                ${destroot}${prefix}/share/doc/${subport}
    }
}
