# -*- 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.13.0
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  212e73d133c820934fb35a3638f3bc4e26698797 \
                    sha256  c7b04d6a6a4cd57985571e605539399b51331ae455d7fce576a5e2fcb89b1dcf \
                    size    1052101

python.versions     310 311 312 313 314
python.pep517_backend scikit

if {${subport} ne ${name}} {
    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}
}
