# -*- 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-hatch-vcs
version             0.5.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Hatch plugin for versioning with your preferred VCS
long_description    {*}${description}

homepage            https://github.com/ofek/hatch-vcs

distname            hatch_vcs-${version}

checksums           rmd160  d972253b6ad874f51836b9db975dd8fb0b79acd5 \
                    sha256  0395fa126940340215090c344a2bf4e2a77bcbe7daab16f41b37b98c95809ff9 \
                    size    11424

python.versions     310 311 312 313 314
python.pep517_backend   hatch

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