diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-26 21:46:56 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-26 21:52:26 -0800 |
| commit | 5c455804aede17e0ea0cbb7ab55f8580f912e664 (patch) | |
| tree | 67d97f9cf071f4639c9cbd1be1a20cf1055fd61e /meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb | |
| parent | da03785ff19c2db4210318759a011c6919692876 (diff) | |
| download | meta-openembedded-5c455804aede17e0ea0cbb7ab55f8580f912e664.tar.gz | |
python3-pybind11: Upgrade to 2.10.3
It gets pkgconfig support which is required by some dependent packages
like rwmem
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb new file mode 100644 index 0000000000..bb604982d0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | SUMMARY = "Seamless operability between C++11 and Python" | ||
| 2 | HOMEPAGE = "https://github.com/wjakob/pybind11" | ||
| 3 | LICENSE = "BSD-2-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" | ||
| 5 | |||
| 6 | DEPENDS = "boost" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https" | ||
| 9 | |||
| 10 | SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" | ||
| 15 | |||
| 16 | inherit cmake setuptools3 python3native | ||
| 17 | |||
| 18 | PIP_INSTALL_DIST_PATH = "${S}/dist" | ||
| 19 | PIP_INSTALL_PACKAGE = "pybind11" | ||
| 20 | |||
| 21 | do_configure() { | ||
| 22 | cmake_do_configure | ||
| 23 | } | ||
| 24 | |||
| 25 | do_compile() { | ||
| 26 | setuptools3_do_compile | ||
| 27 | cmake_do_compile | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install() { | ||
| 31 | setuptools3_do_install | ||
| 32 | cmake_do_install | ||
| 33 | } | ||
| 34 | |||
| 35 | BBCLASSEXTEND = "native nativesdk" | ||
