devel/py-nanobind 3.1.0 FreeBSD
Tiny and efficient C++/Python bindings
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
114e0397dd- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 250.3 KiB, 1271.5 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-nanobind | 3.1.0 |
| NetBSD | devel/py-nanobind | 3.0.1 |
| DragonFly | devel/py-nanobind | 2.4.0 |
| MidnightBSD | devel/py-nanobind | 2.13.0 |
| HardenedBSD | devel/py-nanobind | 3.1.0 |
| GhostBSD | devel/py-nanobind | 2.13.0 |
Install
Binary package:
pkg install py312-nanobind
From the ports tree:
cd /usr/ports/devel/py-nanobind/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-nanobind>0:devel/py-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 |
Dependencies
As this port's Makefile names them.
Build 2
cmake: devel/cmake-core${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.10: devel/py-scikit-build-core
Test 1
cmake: devel/cmake-core
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pyproject-hooks
- devel/py-scikit-build-core
- devel/readline
- dns/libidn2
- lang/python312
- lang/python315
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 3
| File | Size | SHA256 |
|---|---|---|
| wjakob-nanobind-v3.1.0_GH0.tar.gz | 1.083479e+06 | 39659890a112e84e7263e4a263c71dd2621f866f7a4386ce95ef410e6c0e5c2f |
| Tessil-robin-map-188c455_GH0.tar.gz | 70577 | c3f05ed8933a1f9aa57295c8ad17bd44756cf5cf030a95325c61aa862fa19680 |
| 942e75d927e3884e56d607e77c026bb4a72a4763.patch | 630 | 63f1319b58a4b740482aee5ca6431d8bd5b7d378c64f75d35b5fe448cadeed60 |