# -*- 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.3.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  cbd9ca7141c5958fe1cfddcfd15f189b467fd4ab \
                    sha256  cec5107cfce482c67f8bc96f18bbc320c9aa0d068180e14ad317bbee5a153fee \
                    size    10172

python.versions     37 38 39 310 311
python.pep517       yes
python.pep517_backend   hatch

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