devel/pybind11-json 0.2.15_1 MidnightBSD
Using nlohmann::json with pybind11
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- devel, python
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 |
|---|---|---|
| MidnightBSD | devel/pybind11-json | 0.2.15_1 |
| FreeBSD | devel/pybind11-json | 0.2.15_1 |
| DragonFly | devel/pybind11-json | 0.2.15 |
| HardenedBSD | devel/pybind11-json | 0.2.15_1 |
| GhostBSD | devel/pybind11-json | 0.2.15_1 |
Install
Binary package:
mport install pybind11-json
From mports:
cd /usr/mports/devel/pybind11-json && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pybind11-json>0:devel/pybind11-json
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
Build dependencies 2
Run dependencies 2
No port depends on this one.
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 |