meta-openembedded/meta-python/recipes-devtools/python/python3-lief_0.16.2.bb
Leon Anavi b23c36d407
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>
2025-01-29 17:43:05 -08:00

30 lines
870 B
BlitzBasic

SUMMARY = "Library to instrument executable formats"
DESCRIPTION = "LIEF: Library to Instrument Executable Formats"
HOMEPAGE = "https://github.com/lief-project/LIEF"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547"
SECTION = "libs"
SRC_URI = " \
git://github.com/lief-project/LIEF.git;protocol=https;branch=main \
file://0001-build-requirements.txt-Allow-newer-versions.patch \
file://0002-api-python-config-default.toml-Debug.patch \
"
SRCREV = "d3ad812008fd286322b7085e84136e422b3afea4"
S = "${WORKDIR}/git"
PEP517_SOURCE_PATH = "${S}/api/python"
inherit python_setuptools_build_meta
DEPENDS += "\
python3-scikit-build-native \
python3-scikit-build-core-native \
python3-tomli-native \
python3-pydantic-native \
ninja-native \
ccache-native \
"
BBCLASSEXTEND = "native nativesdk"