# -*- 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

python.rootname     gyp-next
name                py-${python.rootname}
version             0.21.1
revision            0

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

description         A fork of the GYP build system for use in the Node.js projects
long_description    {*}${description}

homepage            https://github.com/nodejs/gyp-next
distname            [string map {- _} ${python.rootname}]-${version}

checksums           rmd160  97ebffc2dfc74e60f50c3d824c85a52669440543 \
                    sha256  78f0aa7287fd8325664d8fe6a7ecbb56521ecbde6eccf1279d6afa2ea9e518b8 \
                    size    319972

python.versions     39 310 311 312 313 314
python.pep517_backend setuptools

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