diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-04-01 16:40:39 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-01 21:59:45 -0700 |
| commit | afe1c610c5538d4f3541c4167bee6b135e5985e6 (patch) | |
| tree | 4d5fd6d1a0eb81b033d52859ad7c1a6f13b00536 /meta-python/recipes-devtools/python/python3-lief_0.16.4.bb | |
| parent | c86c9fa882ea0f49d11aa6424b4d99bd9390fd8f (diff) | |
| download | meta-openembedded-afe1c610c5538d4f3541c4167bee6b135e5985e6.tar.gz | |
python3-lief: Upgrade to latest on tip of trunk
Adds new dependency on typing-inspection module
Fix build with GCC-15 while here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.4.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-lief_0.16.4.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.4.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.4.bb new file mode 100644 index 0000000000..294f8fd1ad --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.16.4.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | SUMMARY = "Library to instrument executable formats" | ||
| 2 | DESCRIPTION = "LIEF: Library to Instrument Executable Formats" | ||
| 3 | HOMEPAGE = "https://github.com/lief-project/LIEF" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547" | ||
| 6 | SECTION = "libs" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | git://github.com/lief-project/LIEF.git;protocol=https;branch=main \ | ||
| 10 | file://0001-build-requirements.txt-Allow-newer-versions.patch \ | ||
| 11 | file://0002-api-python-config-default.toml-Debug.patch \ | ||
| 12 | file://0001-Add-cstdio-include.patch \ | ||
| 13 | " | ||
| 14 | SRCREV = "1e9b12bd14cbe087d52355b8b9af578f1b04d8ca" | ||
| 15 | |||
| 16 | PV .= "+git" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | PEP517_SOURCE_PATH = "${S}/api/python" | ||
| 20 | |||
| 21 | export LIEF_BUILD_DIR = "${B}" | ||
| 22 | |||
| 23 | inherit python_setuptools_build_meta | ||
| 24 | |||
| 25 | DEPENDS += "\ | ||
| 26 | python3-scikit-build-native \ | ||
| 27 | python3-scikit-build-core-native \ | ||
| 28 | python3-tomli-native \ | ||
| 29 | python3-pydantic-native \ | ||
| 30 | ninja-native \ | ||
| 31 | ccache-native \ | ||
| 32 | python3-typing-inspection \ | ||
| 33 | " | ||
| 34 | # https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 | ||
| 35 | COMPATIBLE_HOST:x86 = "null" | ||
| 36 | |||
| 37 | BBCLASSEXTEND = "native nativesdk" | ||
