summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.5.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-lief_0.16.5.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb
new file mode 100644
index 0000000000..8a0e30133c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb
@@ -0,0 +1,34 @@
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"
13SRCREV = "abcf929efb748c7846dd59007cbb807e108db311"
14PV .= "+git"
15
16PEP517_SOURCE_PATH = "${S}/api/python"
17
18export LIEF_BUILD_DIR = "${B}"
19
20inherit python_setuptools_build_meta
21
22DEPENDS += "\
23 python3-scikit-build-native \
24 python3-scikit-build-core-native \
25 python3-tomli-native \
26 python3-pydantic-native \
27 ninja-native \
28 ccache-native \
29 python3-typing-inspection \
30"
31# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203
32COMPATIBLE_HOST:x86 = "null"
33
34BBCLASSEXTEND = "native nativesdk"