BSD Ports

devel/nanobind 3.1.0 FreeBSD

Tiny and efficient C++/Python bindings (C++ version)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
83ba250f24
License
BSD3CLAUSE
Categories
devel
Package size
190.7 KiB, 961.4 KiB installed

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
FreeBSDdevel/nanobind3.1.0 newestnone known-[email protected]2026-09-22
DragonFlydevel/nanobind2.4.0 behind since 2026-09-11none known-[email protected]-
HardenedBSDdevel/nanobind3.1.0 newestno data-[email protected]-
GhostBSDdevel/nanobind3.0.1 behind since 2026-09-22no data-[email protected]-

Version history 2

  1. 3.1.0 83ba250f24
  2. 3.0.1 fe9060d23a

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:

pkg install nanobind

From the ports tree:

cd /usr/ports/devel/nanobind/ && make install clean

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

RUN_DEPENDS=	nanobind>0:devel/nanobind

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.03.1.0-2.4.03.1.0
FreeBSD:14:quarterly3.1.03.1.0n/a2.4.03.1.0
FreeBSD:15:latest3.1.03.1.0n/a2.4.02.4.0
FreeBSD:15:quarterly3.1.03.1.0n/an/an/a
FreeBSD:16:latest3.1.03.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

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

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 6

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 12

Configuration

No options to configure.

USES
cmake:testing eigen:3,run,test localbase python:test
Service scripts
none

Files

pkg-plist 81
  • cmake/nanobind-config-version.cmake
  • cmake/nanobind-config.cmake
  • include/nanobind/eigen/dense.h
  • include/nanobind/eigen/sparse.h
  • include/nanobind/eigen/tensor.h
  • include/nanobind/eval.h
  • include/nanobind/intrusive/counter.h
  • include/nanobind/intrusive/counter.inl
  • include/nanobind/intrusive/ref.h
  • include/nanobind/make_iterator.h
  • include/nanobind/nanobind.h
  • include/nanobind/nb_accessor.h
  • include/nanobind/nb_attr.h
  • include/nanobind/nb_backend.h
  • include/nanobind/nb_backend_slots.h
  • include/nanobind/nb_call.h
  • include/nanobind/nb_cast.h
  • include/nanobind/nb_class.h
  • include/nanobind/nb_defs.h
  • include/nanobind/nb_descr.h
  • include/nanobind/nb_error.h
  • include/nanobind/nb_func.h
  • include/nanobind/nb_misc.h
  • include/nanobind/nb_platform.h
  • include/nanobind/nb_python.h
  • include/nanobind/nb_traits.h
  • include/nanobind/nb_tuple.h
  • include/nanobind/nb_types.h
  • include/nanobind/ndarray.h
  • include/nanobind/operators.h
  • include/nanobind/stl/array.h
  • include/nanobind/stl/bind_map.h
  • include/nanobind/stl/bind_vector.h
  • include/nanobind/stl/chrono.h
  • include/nanobind/stl/complex.h
  • include/nanobind/stl/detail/nb_array.h
  • include/nanobind/stl/detail/nb_dict.h
  • include/nanobind/stl/detail/nb_list.h
  • include/nanobind/stl/detail/nb_optional.h
  • include/nanobind/stl/detail/nb_set.h
  • include/nanobind/stl/detail/traits.h
  • include/nanobind/stl/filesystem.h
  • include/nanobind/stl/function.h
  • include/nanobind/stl/list.h
  • include/nanobind/stl/map.h
  • include/nanobind/stl/optional.h
  • include/nanobind/stl/pair.h
  • include/nanobind/stl/set.h
  • include/nanobind/stl/shared_ptr.h
  • include/nanobind/stl/string.h
  • include/nanobind/stl/string_view.h
  • include/nanobind/stl/tuple.h
  • include/nanobind/stl/unique_ptr.h
  • include/nanobind/stl/unordered_map.h
  • include/nanobind/stl/unordered_set.h
  • include/nanobind/stl/variant.h
  • include/nanobind/stl/vector.h
  • include/nanobind/stl/wstring.h
  • include/nanobind/trampoline.h
  • include/nanobind/typing.h
  • share/nanobind/__init__.py
  • share/nanobind/__main__.py
  • share/nanobind/src/buffer.h
  • share/nanobind/src/common.cpp
  • share/nanobind/src/error.cpp
  • share/nanobind/src/hash.h
  • share/nanobind/src/implicit.cpp
  • share/nanobind/src/nb_backend.cpp
  • share/nanobind/src/nb_combined.cpp
  • share/nanobind/src/nb_datetime.cpp
  • share/nanobind/src/nb_enum.cpp
  • share/nanobind/src/nb_ft.cpp
  • share/nanobind/src/nb_ft.h
  • share/nanobind/src/nb_func.cpp
  • share/nanobind/src/nb_internals.cpp
  • share/nanobind/src/nb_internals.h
  • share/nanobind/src/nb_ndarray.cpp
  • share/nanobind/src/nb_static_property.cpp
  • share/nanobind/src/nb_type.cpp
  • share/nanobind/src/trampoline.cpp
  • share/nanobind/stubgen.py
distinfo 1
FileSizeSHA256
wjakob-nanobind-v3.1.0_GH0.tar.gz1.083479e+0639659890a112e84e7263e4a263c71dd2621f866f7a4386ce95ef410e6c0e5c2f

Commit history 2

DateCommitCreditsLog message
83ba250f24 Yuri Victorovich devel/nanobind: update 3.0.1 → 3.1.0
fe9060d23a Yuri Victorovich devel/nanobind: update 2.13.0 → 3.0.1