Package Details: pybind11-git v2.11.0.r55.ge250155-1

Git Clone URL: https://aur.archlinux.org/pybind11-git.git (read-only, click to copy)
Package Base: pybind11-git
Description: A lightweight header-only library that exposes C++ types in Python and vice versa-git
Upstream URL: https://pybind11.readthedocs.org/
Licenses: BSD
Conflicts: pybind11
Provides: pybind11
Submitter: japm48
Maintainer: greyltc
Last Packager: greyltc
Votes: 0
Popularity: 0.000000
First Submitted: 2021-07-31 03:33 (UTC)
Last Updated: 2023-11-15 05:43 (UTC)

Required by (242)

Sources (2)

Latest Comments

adityaruplaha commented on 2025-08-12 08:59 (UTC)

Note that https://aur.archlinux.org/packages/micromamba requires pybind11 v2.x, so it is necessary to modify the PKGBUILD as:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ makedepends=('cmake' 'boost' 'catch2' 'eigen' 'python-build' 'python-installer'
              #'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
 checkdepends=('python-numpy' 'python-scipy')

-source=('git+https://github.com/pybind/pybind11.git'
+source=('git+https://github.com/pybind/pybind11.git#tag=v2.13.6'
 'nopip.patch')

 sha256sums=('SKIP'

JonasKonrad commented on 2024-10-25 13:30 (UTC)

pybind11 is packaged in repository extra meanwhile.

daizhirui commented on 2023-10-16 08:11 (UTC)

PKGBUILD is still using setup.py

japm48 commented on 2023-02-27 13:44 (UTC) (edited on 2023-02-27 13:44 (UTC) by japm48)

Thanks for the info! I updated the package to use cmake instead of setup.py

Now it should work again

bemu commented on 2023-02-08 18:14 (UTC)

If someone has the following error:

CMake Error in src/python_pybind11/CMakeLists.txt:
  Imported target "pybind11::headers" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

I got it fixed by building the package via cmake instead of using setup.py . The PKGBUILD I used can be found here: https://github.com/muellerbernd/my_arch_packages/blob/master/pybind11/PKGBUILD