# -*- 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-nodejs-version
version             0.3.2
revision            0

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

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

maintainers         {stromnov @stromnov} openmaintainer

description         Hatch plugin for versioning from a package.json file
long_description    {*}${description}

homepage            https://github.com/agoose77/hatch-nodejs-version
distname            hatch_nodejs_version-${version}

checksums           rmd160  58021be9a21a5e76b8c37cb00ad80d3a90342cc9 \
                    sha256  8a7828d817b71e50bbbbb01c9bfc0b329657b7900c56846489b9c958de15b54c \
                    size    16942

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