summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief_0.17.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-lief_0.17.2.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb b/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb
new file mode 100644
index 0000000000..e7de6b6d3b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-lief_0.17.2.bb
@@ -0,0 +1,35 @@
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
8SRCREV = "aa2b617f47c2f75fca9ff00b146dabbaf1b9f422"
9SRC_URI = " \
10 git://github.com/lief-project/LIEF.git;protocol=https;branch=release/0.17.x;tag=${PV} \
11 file://0001-build-requirements.txt-Allow-newer-versions.patch \
12 file://0002-api-python-config-default.toml-Debug.patch \
13"
14
15CVE_PRODUCT = "lief"
16
17PEP517_SOURCE_PATH = "${S}/api/python"
18
19export LIEF_BUILD_DIR = "${B}"
20
21inherit python_setuptools_build_meta
22
23DEPENDS += "\
24 python3-scikit-build-native \
25 python3-scikit-build-core-native \
26 python3-tomli-native \
27 python3-pydantic-native \
28 ninja-native \
29 ccache-native \
30 python3-typing-inspection \
31"
32# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203
33COMPATIBLE_HOST:x86 = "null"
34
35BBCLASSEXTEND = "native nativesdk"