head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.09.04.12.22.12; author adam; state Exp; branches; next ; commitid iowHARrsuPWxJiUG; desc @@ 1.1 log @py-nanobind: added version 3.0.1 nanobind is a small binding library that exposes C++ types in Python and vice versa. It is reminiscent of Boost.Python and pybind11 and uses near-identical syntax. In contrast to these existing tools, nanobind is more efficient: bindings compile in a shorter amount of time, produce smaller binaries, and have better runtime performance. @ text @# $NetBSD$ BUILDLINK_TREE+= py-nanobind .if !defined(PY_NANOBIND_BUILDLINK3_MK) PY_NANOBIND_BUILDLINK3_MK:= # As this package defaults to DEPMETHOD=build we also set python to default # to build, and avoid pulling in unwanted indirect buildlink3 dependencies. PYTHON_FOR_BUILD_ONLY?= yes .include "../../lang/python/pyversion.mk" BUILDLINK_DEPMETHOD.py-nanobind?= build BUILDLINK_API_DEPENDS.py-nanobind+= ${PYPKGPREFIX}-nanobind>=3.0.1 BUILDLINK_PKGSRCDIR.py-nanobind?= ../../devel/py-nanobind .endif # PY_NANOBIND_BUILDLINK3_MK BUILDLINK_TREE+= -py-nanobind @