From afd72775425ce9e413e47a3960b5a469381ae0e4 Mon Sep 17 00:00:00 2001 From: Pablo Saavedra Date: Mon, 18 Nov 2024 20:35:20 +0100 Subject: python3-uinput: Re-add recipe - Added `python3-uinput_1.0.1.bb` recipe for the Python interface to the Linux uinput kernel module. - Included a submitted patch to handle 64-bit `time_t` on 32-bit architectures to address Y2K38 issues in recent kernels and libcs. Removed in b4efcecc63c86f3e7fa9d5c6205f1bd07d951fed for lack of maintenance the situation change. There is a new release from 2024 March what addresses the build issues reported lately. Signed-off-by: Pablo Saavedra Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-uinput_1.0.1.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb (limited to 'meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb b/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb new file mode 100644 index 0000000000..7c1eb85264 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python interface to Linux uinput kernel module." +HOMEPAGE = "https://pypi.org/project/python-uinput/" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" + +SRC_URI += "file://0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch" +SRC_URI[sha256sum] = "853697344b64df5537d4ae32ba6fbcf0515d51a9010910f5d5019959038b6eba" + +PYPI_PACKAGE = "python-uinput" + +inherit pypi setuptools3 + +DEPENDS += "udev" +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-setuptools \ +" +RRECOMMENDS:${PN} += "kernel-module-uinput" -- cgit v1.2.3-54-g00ecf