# -*- 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-nanobind
version             2.9.2
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             BSD MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         nanobind: tiny and efficient C++/Python bindings
long_description    {*}${description}

homepage            https://github.com/wjakob/nanobind

checksums           rmd160  54a2106d84acf801af87da8f30554572b5ceff54 \
                    sha256  e7608472de99d375759814cab3e2c94aba3f9ec80e62cfef8ced495ca5c27d6e \
                    size    984270

python.versions     39 310 311 312 313
python.pep517_backend

if {${subport} ne ${name}} {
    depends_build-append \
                    port:py${python.version}-scikit-build-core \
                    port:ninja
}
