diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-01-29 13:40:38 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-29 17:43:05 -0800 |
| commit | b23c36d407846227bac2d250827179ea22865922 (patch) | |
| tree | 3f27eed6e5b88730d33e5538405afe9293486395 /meta-python/recipes-devtools/python/python3-lief_0.16.2.bb | |
| parent | ac3524962d46d8459feee89a01a2552ae2d81742 (diff) | |
| download | meta-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.bb | 29 |
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 @@ | |||
| 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 | " | ||
| 13 | SRCREV = "d3ad812008fd286322b7085e84136e422b3afea4" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | PEP517_SOURCE_PATH = "${S}/api/python" | ||
| 17 | |||
| 18 | inherit python_setuptools_build_meta | ||
| 19 | |||
| 20 | DEPENDS += "\ | ||
| 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 | |||
| 29 | BBCLASSEXTEND = "native nativesdk" | ||
