summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb
new file mode 100644
index 0000000000..d51dd905a5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.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 = "8a099e44b3d5f85b20f05828d919d2332a8de841"
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"