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

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

python.versions     310 311 312 313 314
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  3e1a2f77288a2f9f6370260d65f00ad150510e79 \
                    sha256  2428ea398dd053f019d2b7ac949dd6b690ca8e826b6d433ad13c5b6c475ae91b \
                    size    17797

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