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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/nanobind | 3.1.0 newest | none known | - | [email protected] | 2026-09-22 |
| DragonFly | devel/nanobind | 2.4.0 behind since 2026-09-11 | none known | - | [email protected] | - |
| HardenedBSD | devel/nanobind | 3.1.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/nanobind | 3.0.1 behind since 2026-09-22 | no data | - | [email protected] | - |
Version history 2
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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.1.0 | 3.1.0 | - | 2.4.0 | 3.1.0 |
| FreeBSD:14:quarterly | 3.1.0 | 3.1.0 | n/a | 2.4.0 | 3.1.0 |
| FreeBSD:15:latest | 3.1.0 | 3.1.0 | n/a | 2.4.0 | 2.4.0 |
| FreeBSD:15:quarterly | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.1.0 | 3.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
robin-map>0: devel/robin-map
Runtime 1
robin-map>0: devel/robin-map
Test 6
gmake: devel/gmakepytest: devel/py-pytest${PYTHON_PKGNAMEPREFIX}jax>0: math/py-jax${PYTHON_PKGNAMEPREFIX}numpy>0: math/py-numpy${PYTHON_PKGNAMEPREFIX}scipy>0: science/py-scipy${PYTHON_PKGNAMEPREFIX}typing-extensions>0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 12
Required by 2
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
| File | Size | SHA256 |
|---|---|---|
| wjakob-nanobind-v3.1.0_GH0.tar.gz | 1.083479e+06 | 39659890a112e84e7263e4a263c71dd2621f866f7a4386ce95ef410e6c0e5c2f |