diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb b/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb new file mode 100644 index 0000000000..cc2f0c66dc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pybind11_3.0.1.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "Seamless operability between C++11 and Python" | ||
| 2 | HOMEPAGE = "https://github.com/pybind/pybind11" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" | ||
| 5 | DEPENDS = "\ | ||
| 6 | python3-cmake-native \ | ||
| 7 | python3-ninja-native \ | ||
| 8 | " | ||
| 9 | |||
| 10 | SRCREV = "f5fbe867d2d26e4a0a9177a51f6e568868ad3dc8" | ||
| 11 | SRC_URI = "\ | ||
| 12 | git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ | ||
| 13 | " | ||
| 14 | |||
| 15 | |||
| 16 | inherit cmake python_setuptools_build_meta | ||
| 17 | |||
| 18 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF -DPYBIND11_USE_CROSSCOMPILING=ON" | ||
| 19 | |||
| 20 | do_configure:append() { | ||
| 21 | cmake_do_configure | ||
| 22 | } | ||
| 23 | |||
| 24 | do_compile:append() { | ||
| 25 | cmake_do_compile | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install:append() { | ||
| 29 | cmake_do_install | ||
| 30 | } | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native nativesdk" | ||
