summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-01-29 13:40:38 +0200
committerKhem Raj <raj.khem@gmail.com>2025-01-29 17:43:05 -0800
commitb23c36d407846227bac2d250827179ea22865922 (patch)
tree3f27eed6e5b88730d33e5538405afe9293486395 /meta-python/recipes-devtools/python/python3-lief_0.16.2.bb
parentac3524962d46d8459feee89a01a2552ae2d81742 (diff)
downloadmeta-openembedded-b23c36d407846227bac2d250827179ea22865922.tar.gz
python3-lief: Add recipe
Add recipe to build the Python API of LIEF (Library to Instrument Executable Formats). The purpose of this project is to provide a cross-platform library to parse, modify and abstract ELF, PE and MachO formats. Changelog for LIEF release 0.16.2: - Fix broken aarch64 Python wheel which is related to a toolchain issue This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-lief_0.16.2.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb
new file mode 100644
index 0000000000..6cc6e7e5ae
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb
@@ -0,0 +1,29 @@
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 = "d3ad812008fd286322b7085e84136e422b3afea4"
14
15S = "${WORKDIR}/git"
16PEP517_SOURCE_PATH = "${S}/api/python"
17
18inherit python_setuptools_build_meta
19
20DEPENDS += "\
21 python3-scikit-build-native \
22 python3-scikit-build-core-native \
23 python3-tomli-native \
24 python3-pydantic-native \
25 ninja-native \
26 ccache-native \
27"
28
29BBCLASSEXTEND = "native nativesdk"