mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-24 06:46:35 +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>
This commit is contained in:
1 parent
20ac5b207d
commit
5db973d20a
2 files changed
+119
-2
No files matched your search
@@ -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