From b22026cd3785700052aefa90e709b92d8e7f74fc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Apr 2025 19:45:27 -0700 Subject: python3-lief: Upgrade to 0.16.5 + tip of trunk Drop upstreamed patch. Pydantic-core is now available for riscv32 Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-lief_0.16.5.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-lief_0.16.5.bb (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.5.bb') 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..2166e3257f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.16.5.bb @@ -0,0 +1,35 @@ +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 = "abcf929efb748c7846dd59007cbb807e108db311" +PV .= "+git" + +S = "${WORKDIR}/git" +PEP517_SOURCE_PATH = "${S}/api/python" + +export LIEF_BUILD_DIR = "${B}" + +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 \ + python3-typing-inspection \ +" +# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 +COMPATIBLE_HOST:x86 = "null" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf