devel/py-pybind11 3.0.4_1 MidnightBSD
Seamless interoperability between C++11 and Python
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- devel, python
Description
A lightweight header-only library to create Python bindings of existing C++ code. Its goals and syntax are similar to the excellent Boost.Python library by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-pybind11 | 3.0.4_1 |
| FreeBSD | devel/py-pybind11 | 3.1.0 |
| OpenBSD | devel/py-pybind11 | 3.1.0v0 |
| NetBSD | devel/py-pybind11 | 3.1.0 |
| DragonFly | devel/py-pybind11 | 2.13.6 |
| HardenedBSD | devel/py-pybind11 | 3.1.0 |
| GhostBSD | devel/py-pybind11 | 3.1.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}pybind11
From mports:
cd /usr/mports/devel/py-pybind11 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}scikit-build-core>0: devel/py-scikit-build-core${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Build dependencies 2
Configuration
No options to configure.
- USES
- cmake:indirect python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pybind11-3.0.4.tar.gz | 589533 | 3286b59c8a774b9ee650169302dd5a4eedc30a8617905a0560dd8ee44775130c |
Master sites 1
- PYPI