diff options
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.bb | 35 |
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 @@ | |||
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 = "8a099e44b3d5f85b20f05828d919d2332a8de841" | ||
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" | ||