From b4aa60319a02b40a8eb4aba083b785d94fbf8efc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 10 Feb 2025 17:01:15 +0800 Subject: python3-lief: upgrade 0.16.2 -> 0.16.3 Changelog: =========== - Fix issue when parsing the dynamic table with an invalid offset - Fix endianness issue with IA64 binaries - Fix missing original forwarded function name - Add support for spdlog compiled with SPDLOG_WCHAR_FILENAMES Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-lief_0.16.3.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-lief_0.16.3.bb (limited to 'meta-python/recipes-devtools/python/python3-lief_0.16.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-lief_0.16.3.bb b/meta-python/recipes-devtools/python/python3-lief_0.16.3.bb new file mode 100644 index 0000000000..925baa655c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lief_0.16.3.bb @@ -0,0 +1,34 @@ +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 = "646af9f6ced8e827916648f26617998de834db78" +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 \ +" +# https://github.com/lief-project/LIEF/commit/3def579f75965aa19c021d840a759bce2afc0a31#r152197203 +COMPATIBLE_HOST:x86 = "null" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf