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 | |
| 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')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb (renamed from meta-python/recipes-devtools/python/python3-pybind11_2.10.0.bb) | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.10.0.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb index 66aefac3d6..bb604982d0 100644 --- a/meta-python/recipes-devtools/python/python3-pybind11_2.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb | |||
| @@ -5,16 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" | |||
| 5 | 5 | ||
| 6 | DEPENDS = "boost" | 6 | DEPENDS = "boost" |
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ | 8 | SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https" |
| 9 | file://0001-Do-not-strip-binaries.patch \ | ||
| 10 | " | ||
| 11 | 9 | ||
| 12 | SRCREV = "aa304c9c7d725ffb9d10af08a3b34cb372307020" | 10 | SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406" |
| 13 | 11 | ||
| 14 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 15 | 13 | ||
| 16 | BBCLASSEXTEND = "native" | ||
| 17 | |||
| 18 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" | 14 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" |
| 19 | 15 | ||
| 20 | inherit cmake setuptools3 python3native | 16 | inherit cmake setuptools3 python3native |
| @@ -23,17 +19,17 @@ PIP_INSTALL_DIST_PATH = "${S}/dist" | |||
| 23 | PIP_INSTALL_PACKAGE = "pybind11" | 19 | PIP_INSTALL_PACKAGE = "pybind11" |
| 24 | 20 | ||
| 25 | do_configure() { | 21 | do_configure() { |
| 26 | cmake_do_configure | 22 | cmake_do_configure |
| 27 | } | 23 | } |
| 28 | 24 | ||
| 29 | do_compile() { | 25 | do_compile() { |
| 30 | setuptools3_do_compile | 26 | setuptools3_do_compile |
| 31 | cmake_do_compile | 27 | cmake_do_compile |
| 32 | } | 28 | } |
| 33 | 29 | ||
| 34 | do_install() { | 30 | do_install() { |
| 35 | setuptools3_do_install | 31 | setuptools3_do_install |
| 36 | cmake_do_install | 32 | cmake_do_install |
| 37 | } | 33 | } |
| 38 | 34 | ||
| 39 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |
