summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-26 21:46:56 -0800
committerKhem Raj <raj.khem@gmail.com>2023-01-26 21:52:26 -0800
commit5c455804aede17e0ea0cbb7ab55f8580f912e664 (patch)
tree67d97f9cf071f4639c9cbd1be1a20cf1055fd61e /meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb
parentda03785ff19c2db4210318759a011c6919692876 (diff)
downloadmeta-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.bb35
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 @@
1SUMMARY = "Seamless operability between C++11 and Python"
2HOMEPAGE = "https://github.com/wjakob/pybind11"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f"
5
6DEPENDS = "boost"
7
8SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https"
9
10SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406"
11
12S = "${WORKDIR}/git"
13
14EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF"
15
16inherit cmake setuptools3 python3native
17
18PIP_INSTALL_DIST_PATH = "${S}/dist"
19PIP_INSTALL_PACKAGE = "pybind11"
20
21do_configure() {
22 cmake_do_configure
23}
24
25do_compile() {
26 setuptools3_do_compile
27 cmake_do_compile
28}
29
30do_install() {
31 setuptools3_do_install
32 cmake_do_install
33}
34
35BBCLASSEXTEND = "native nativesdk"