# -*- 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.4.1
revision            0

categories-append   devel
platforms           {darwin any}
license             MIT
supported_archs     noarch

python.versions     310 311 312 313 314

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  b9409a7deb2db83ca7103ccb46d90fbff59c5f04 \
                    sha256  c418bc77b3974d3ac65f268f058f23e01dc5f991f2233128b0e16a69de227b09 \
                    size    3274

if {${name} ne ${subport}} {
    patchfiles      patch-setup.py.diff

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

    test.run            yes
}
