BSD Ports

devel/py-pybind11 3.1.0 NetBSD

Seamless operability between C++11 and Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
72fdfb9000
License
modified-bsd
Categories
devel, python
Package size
233.9 KiB, 1223.9 KiB installed

Description

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. Its goals and syntax are similar to the excellent Boost.Python by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.

In the other systems

SystemPortVersion
NetBSDdevel/py-pybind113.1.0
FreeBSDdevel/py-pybind113.1.0
OpenBSDdevel/py-pybind113.1.0v0
DragonFlydevel/py-pybind112.13.6
MidnightBSDdevel/py-pybind113.0.4_1
HardenedBSDdevel/py-pybind113.1.0
GhostBSDdevel/py-pybind113.1.0

Install

Binary package:

pkgin install py311-pybind11

From pkgsrc:

cd /usr/pkgsrc/devel/py-pybind11 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.1.0
NetBSD 10.1 aarch643.0.4
SmartOS / illumos x86_643.1.0
macOS 15 arm643.1.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pybind11-3.1.0, py313-pybind11-3.1.0, py314-pybind11-3.1.0

Commit history 1

DateCommitCreditsLog message
72fdfb9000 adam py-pybind11: updated to 3.1.0
3.1.0 New Features: Support for Python 3.8 was removed. The minimum supported version is now Python 3.9. Support for MSVC 2017 has been dropped. Changed strict-mode numeric conversions for PEP 484 compatibility: float now accepts int, and complex now accepts int and float. Small extra features added to the pybind11 command line tool based on python-config. Added subinterpreter_thread_state, an RAII wrapper that owns a reusable PyThreadState for a sub-interpreter, together with a subinterpreter_scoped_activate overload that activates it. This lets an OS thread re-enter one or more sub-interpreters without creating and destroying a PyThreadState on every activation. Add py::mod_gil_used() as replacement spelling to py::mod_gil_not_used(false). Bug fixes: …