summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-lief_0.16.4.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-04-01 16:40:39 -0700
committerKhem Raj <raj.khem@gmail.com>2025-04-01 21:59:45 -0700
commitafe1c610c5538d4f3541c4167bee6b135e5985e6 (patch)
tree4d5fd6d1a0eb81b033d52859ad7c1a6f13b00536 /meta-python/recipes-devtools/python/python3-lief_0.16.4.bb
parentc86c9fa882ea0f49d11aa6424b4d99bd9390fd8f (diff)
downloadmeta-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.bb37
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 @@
1SUMMARY = "Library to instrument executable formats"
2DESCRIPTION = "LIEF: Library to Instrument Executable Formats"
3HOMEPAGE = "https://github.com/lief-project/LIEF"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547"
6SECTION = "libs"
7
8SRC_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"
14SRCREV = "1e9b12bd14cbe087d52355b8b9af578f1b04d8ca"
15
16PV .= "+git"
17
18S = "${WORKDIR}/git"
19PEP517_SOURCE_PATH = "${S}/api/python"
20
21export LIEF_BUILD_DIR = "${B}"
22
23inherit python_setuptools_build_meta
24
25DEPENDS += "\
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
35COMPATIBLE_HOST:x86 = "null"
36
37BBCLASSEXTEND = "native nativesdk"