BSD Ports

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

SystemPortVersion
MidnightBSDdevel/pybind11-json0.2.15_1
FreeBSDdevel/pybind11-json0.2.15_1
DragonFlydevel/pybind11-json0.2.15
HardenedBSDdevel/pybind11-json0.2.15_1
GhostBSDdevel/pybind11-json0.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

Runtime 2

Test 1

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
FileSizeSHA256
pybind-pybind11_json-0.2.15_GH0.tar.gz338689a4a1494549a2db27bc4c5a16743a5c88ebc18e13c73019c56f399ae0310baf2