# -*- 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.14.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  b0e44ab50f4b90bcc17d1b7606501052bc72d5fb \
                    sha256  0cf1477d8b1697abc1454028b6469e7113d9aa6ba3ced8b102cc569affbacb13 \
                    size    1053642

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}
}
