BSD Ports

devel/py-nanobind 2.13.0 MidnightBSD

Tiny and efficient C++/Python bindings

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
b807d69740
License
bsd3
Categories
devel, python

Description

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.

In the other systems

The newest version among them is 3.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-nanobind2.13.0 behind since 2026-09-04no data-[email protected]2026-07-14
FreeBSDdevel/py-nanobind3.1.0 newestnone known-[email protected]2026-09-21
NetBSDdevel/py-nanobind3.0.1 behind since 2026-09-21none known-[email protected]2026-09-29
DragonFlydevel/py-nanobind2.4.0 behind since 2026-07-14none known-[email protected]-
HardenedBSDdevel/py-nanobind3.1.0 newestno data-[email protected]-
GhostBSDdevel/py-nanobind2.13.0 behind since 2026-09-04no data-[email protected]-

Compare across BSDs

Version history 1

  1. 2.13.0 b807d69740

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}nanobind

From mports:

cd /usr/mports/devel/py-nanobind && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nanobind>0:devel/py-nanobind

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 4

Test 1

Build dependencies 4
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 2
FileSizeSHA256
wjakob-nanobind-v2.13.0_GH0.tar.gz989569cb25a582ccade4b6067bc73c78b84ad9dbd0bbe0e537320711d18015ccafc4ef
Tessil-robin-map-188c455_GH0.tar.gz70577c3f05ed8933a1f9aa57295c8ad17bd44756cf5cf030a95325c61aa862fa19680

Commit history 1

DateCommitCreditsLog message
b807d69740 Lucas Holt Add LangChain AI ports and dependencies
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>