# -*- 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-build-scripts
python.rootname     hatch_build_scripts
version             1.0.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         A plugin for Hatch that allows you to run arbitrary build scripts \
                    and include their artifacts in your package distributions.
long_description    {*}${description}
homepage            https://github.com/rmorshea/hatch-build-scripts

checksums           rmd160  304cf17d9a5909bd01cfc0191b62986726ca5e9b \
                    sha256  563735e2f265c9e1b92dece6f762309114505ffaf6e5d51d462eb6a3b4f14640 \
                    size    7552

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

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