devel/pybind11-json 0.2.15_1 FreeBSD
Using nlohmann::json with pybind11
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
68aa7f31cc- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 6.0 KiB, 16.8 KiB installed
Description
pybind11_json is an nlohmann::json to pybind11 bridge, it allows you to automatically convert nlohmann::json to py::object and the other way around. Simply include the header, and the automatic conversion will be enabled.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pybind11-json | 0.2.15_1 |
| DragonFly | devel/pybind11-json | 0.2.15 |
| MidnightBSD | devel/pybind11-json | 0.2.15_1 |
Install
Binary package:
pkg install pybind11-json
From the ports tree:
cd /usr/ports/devel/pybind11-json/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pybind11-json>0:devel/pybind11-json
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 | 0.2.15_1 | 0.2.15_1 | 0.2.13 | 0.2.15 | 0.2.15_1 |
| FreeBSD:14:quarterly | 0.2.15_1 | 0.2.15_1 | n/a | 0.2.15 | 0.2.15_1 |
| FreeBSD:15:latest | 0.2.15_1 | 0.2.15_1 | n/a | 0.2.15 | 0.2.15 |
| FreeBSD:15:quarterly | 0.2.15_1 | 0.2.15_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.15_1 | 0.2.15_1 | 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
pybind11>0: devel/pybind11nlohmann-json>0: devel/nlohmann-json
Runtime 2
pybind11>: devel/pybind11nlohmann-json>0: devel/nlohmann-json
Test 1
googletest>0: devel/googletest
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- cmake:testing compiler:c++11-lang python:build
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pybind-pybind11_json-0.2.15_GH0.tar.gz | 33868 | 9a4a1494549a2db27bc4c5a16743a5c88ebc18e13c73019c56f399ae0310baf2 |