mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-17 22:48:28 +00:00
python3-lief: Upgrade to latest on tip of trunk
Adds new dependency on typing-inspection module Fix build with GCC-15 while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
37
meta-python/recipes-devtools/python/python3-lief_0.16.4.bb
Normal file
37
meta-python/recipes-devtools/python/python3-lief_0.16.4.bb
Normal file
@@ -0,0 +1,37 @@
|
||||
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 \
|
||||
file://0001-Add-cstdio-include.patch \
|
||||
"
|
||||
SRCREV = "1e9b12bd14cbe087d52355b8b9af578f1b04d8ca"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user