mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-27 15:48:32 +00:00
python3-evdev: Fix buildpaths errors and reproducibility
Add a submitted patch to support the reproducible generation of intermediate file ecodes.c, then, use it to fix the buildpaths errors. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
af2a4f072e
commit
d44ba8e991
@@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/gvalkov/python-evdev"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d7bd1cc4c71b706c7e2d4053aef50f2a"
|
||||
|
||||
SRC_URI += "file://0001-Add-a-reproducibility-option-for-building-ecodes.c.patch"
|
||||
SRC_URI[sha256sum] = "dc640a064cb1c9fe1f8b970dc2039945a2a275d7b7ee62284bf427238abe45ee"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
@@ -12,7 +13,8 @@ do_compile:prepend() {
|
||||
}
|
||||
|
||||
PEP517_BUILD_OPTS = "--config-setting=--build-option='build_ecodes \
|
||||
--evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h'"
|
||||
--evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h \
|
||||
--reproducibility'"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-ctypes \
|
||||
@@ -21,4 +23,3 @@ RDEPENDS:${PN} += "\
|
||||
python3-shell \
|
||||
python3-stringold \
|
||||
"
|
||||
INSANE_SKIP:${PN}-src = "buildpaths"
|
||||
|
||||
Reference in New Issue
Block a user