notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
There is a known issue with processing of security/vuxml data. As a results, the "Lastest Vulnerabilities" box is out of date and new entries after 2025-Sep-02 are not shown.
Port details on branch 2025Q3
py-pybind11 Seamless interoperability between C++11 and Python
2.13.6 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.13.6Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-05-06 07:28:49
Last Update: 2025-04-29 08:39:49
Commit Hash: 2817392
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://pybind11.readthedocs.io/en/stable/
https://github.com/pybind/pybind11
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-pybind11/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pybind11
  • pkg install py311-pybind11
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-pybind11 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pybind11
Package flavors (<flavor>: <package>)
  • py311: py311-pybind11
distinfo:
TIMESTAMP = 1726298011 SHA256 (pybind11-2.13.6.tar.gz) = ba6af10348c12b24e92fa086b39cfba0eff619b61ac77c406167d813b096d39a SIZE (pybind11-2.13.6.tar.gz) = 218403

Packages (timestamps in pop-ups are UTC):
py37-pybind11
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.6.1_1---2.6.1_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-pybind11
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2.10.4--2.11.12.11.12.11.1
FreeBSD:14:latest--2.10.0--2.10.4-2.10.4
FreeBSD:14:quarterly-----2.11.12.11.12.11.1
FreeBSD:15:latest--n/a-n/a2.11.12.11.12.11.1
 
py311-pybind11
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.13.62.13.6-2.13.62.13.6---
FreeBSD:13:quarterly2.13.62.13.6-2.13.62.13.6---
FreeBSD:14:latest2.13.62.13.6-2.13.62.13.6---
FreeBSD:14:quarterly2.13.62.13.6-2.13.62.13.6---
FreeBSD:15:latest--n/a2.13.6n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. archivers/py-laszip
  2. cad/freecad
  3. databases/py-duckdb
  4. databases/py-tiledb
  5. devel/py-google-re2
  6. devel/py-optree
  7. devel/py-pyopencl
Expand this list (38 items / 31 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/pytype
  3. math/cvc5
  4. math/py-PyMetis
  5. math/py-awkward-cpp
  6. math/py-contourpy
  7. math/py-cvxpy
  8. math/py-diffcp
  9. math/py-ducc0
  10. math/py-fenics-basix
  11. math/py-hmmlearn
  12. math/py-iminuit
  13. math/py-mapbox-earcut
  14. math/py-matplotlib
  15. math/py-pdal
  16. math/py-qdldl
  17. misc/adios2
  18. misc/py-boost-histogram
  19. misc/py-fastscapelib
  20. misc/py-onnx
  21. misc/py-tflite-support
  22. science/py-icet
  23. science/py-kimpy
  24. science/py-kliff
  25. science/py-kpLib
  26. science/py-scipy
  27. textproc/py-fasttext-predict
  28. textproc/py-pikepdf
  29. textproc/py-pytomlpp
  30. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. cad/py-ocp*
  2. math/sage*
  3. science/py-qiskit-aer*
  4. Collapse this list of deleted ports.
for Run
  1. devel/py-PYB11Generator
  2. devel/py-cadquery-pywrap
  3. math/py-diffcp
  4. misc/py-tflite-support

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. math/sage*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_py-pybind11
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pybind11/
  2. https://pypi.org/packages/source/p/pybind11/
Collapse this list.

There are no commits on branch 2025Q3 for this port