From patchwork Mon Sep 8 21:39:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rene Muniz X-Patchwork-Id: 69832 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88BD1CAC586 for ; Mon, 8 Sep 2025 21:53:29 +0000 (UTC) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by mx.groups.io with SMTP id smtpd.web10.6723.1757367998795984280 for ; Mon, 08 Sep 2025 14:46:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gJ73blh0; spf=pass (domain: gmail.com, ip: 209.85.222.180, mailfrom: rmmuniz@gmail.com) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-81076e81a23so529604585a.3 for ; Mon, 08 Sep 2025 14:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757367998; x=1757972798; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=9nnH9KgC5gaBZzN+IRwGOSkIc/vf9E+YIoevfN/MgDU=; b=gJ73blh0kKYzocFAwti6Q0RJ/3OA2Ss9pay/kWrQJIaj4zO7jom2gNz/YTDAr0bG/b 63RJf41UzjE40Dfjk7SK+BUml3URtMKGPSiRv+ZGv70QE7lwomIwx8Zz4RX9XGFgV3uF epdgg3S4HKwGtyTdAIUBeL/LyBcGkl9WJYmjkwrfd6CDbhOqKA6jY+72gwngt2NQ/Gn5 qKLGhlYUqSdHdYeOL4uss+ux5A7/8bPXXuoIHw/JO05W9oJ4E6CNUwWSuP3o7rN6Zs2W MQI0L7VYhuH1yy/aQ+b0SbfzBwryXbOQMJ1HaZ+HkSKeqmzaIU1087PnRPIaLcyVZ1/T 35/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757367998; x=1757972798; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9nnH9KgC5gaBZzN+IRwGOSkIc/vf9E+YIoevfN/MgDU=; b=EMwRCmd/b/4rBNca/xk6AzYULSHL3uOVoD4Za7UXJEZheM0vLVaPN1gVi2omaJYbYJ peyRjQodDEtHFkEpvVsZPxd29cev/E289Jq5rEJCxE5JIunyZS68sxM0ENCa9NJNv277 lkRHbl6ljAhIywu1XUqfzyWB/422ia1uH6ntQ0IiFD1aO31xeelemufRFZIapsYjlNDR us+n0L86OtfzPGbRUd8G6RZO5CEdhjS+IWujVK/VOFWCuJxcXJupuCyHgOshMvte5POH tIidDDN8VFbkPr/55rkcb9SZueWW0T3Scu5fqKrG6U7SFOlb5o8e90oENu1nk9fjH/y1 6CwQ== X-Gm-Message-State: AOJu0YzpZIxrJGLxUOnH9E/pE9BxhwEuVbx/z8BYMyxBLbibZDSa6uHl afbyU3V8Kl6VmVEBJpPYqkDkgF8nBqqFHbJfvFR56jch4egtGfbS7pLuqOgvwOFM X-Gm-Gg: ASbGncuzGza7RR0/KODEFqari8j8+frkIOEuDestB+SwsBIdi4BXxlw+u8S8Rh0TX5V 4tIhKKy0IpAd4ib8U5LBk3w05ACkATNySG94K7JbysgZZhVy9nAk+kW/BsvPPDAKta3QgJ7zG8n 5fqpkrCPNVnB/BH8teOvjFoF3wCp9Rl4aSiIn10yjwFPzZSdLzg/Hj71wWgl6cSRIgLhDqIxeJK ZpycMMu8AMqbTluc4R5QR0HqPejdsmOJdw/P2nSaxfoYVLVf3THP/07+LtfMVY4cPXLdkdrUx8n QFPScDd/0nfzXkB7nAhqIV++CBk0dMgSPXazpS4wqi/YIy5CKn+HX9jSItAm+TPiMYJ0WoKDNjk llm1fXBGnpQRQVe4ngaY= X-Google-Smtp-Source: AGHT+IGJlOEuumBcFpBbo+rzu8/PFCXhKMGxuX+KNs6UslclOylqdkNzz8xcLa3gwV3fMiQvWc+F7g== X-Received: by 2002:a05:622a:41:b0:4b5:d70a:2245 with SMTP id d75a77b69052e-4b5f848ab9cmr117036681cf.77.1757367598432; Mon, 08 Sep 2025 14:39:58 -0700 (PDT) Received: from rmuniz-SER5.. ([64.228.161.9]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4b61bbf54f7sm680501cf.47.2025.09.08.14.39.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 14:39:57 -0700 (PDT) From: Rene Muniz To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][walnascar][PATCH 1/3] python3-evdev: upgrade 1.9.1 -> 1.9.2 Date: Mon, 8 Sep 2025 17:39:45 -0400 Message-Id: <20250908213947.481697-1-rmmuniz@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 08 Sep 2025 21:53:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119336 From: Yoann Congal * Remove a merged reproducibility patch * Adapt the --reproducible option Changelog (from [0]): 1.9.2 (May 01, 2025) ==================== - Add the "--reproducible" build option which removes the build date and used headers from the generated ``ecodes.c``. Example usage:: python -m build --config-setting=--build-option='build_ecodes --reproducible' -n - Use ``Generic`` to set precise type for ``InputDevice.path``. [0]: https://github.com/gvalkov/python-evdev/blob/v1.9.2/docs/changelog.rst Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- ...ibility-option-for-building-ecodes.c.patch | 116 ------------------ ...-evdev_1.9.1.bb => python3-evdev_1.9.2.bb} | 5 +- 2 files changed, 2 insertions(+), 119 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-evdev/0001-Add-a-reproducibility-option-for-building-ecodes.c.patch rename meta-python/recipes-devtools/python/{python3-evdev_1.9.1.bb => python3-evdev_1.9.2.bb} (75%) diff --git a/meta-python/recipes-devtools/python/python3-evdev/0001-Add-a-reproducibility-option-for-building-ecodes.c.patch b/meta-python/recipes-devtools/python/python3-evdev/0001-Add-a-reproducibility-option-for-building-ecodes.c.patch deleted file mode 100644 index e730519884..0000000000 --- a/meta-python/recipes-devtools/python/python3-evdev/0001-Add-a-reproducibility-option-for-building-ecodes.c.patch +++ /dev/null @@ -1,116 +0,0 @@ -From d05c1c9dd298cb95d7feccbddb5caa043a319a01 Mon Sep 17 00:00:00 2001 -From: Yoann Congal -Date: Sun, 13 Apr 2025 00:52:13 +0200 -Subject: [PATCH] Add a reproducibility option for building ecodes.c - -ecodes.c currently contains the kernel info of the build machine and the -full path of the input*.h headers: This is not reproducible as output -can change even is headers content do not. Downstream distributions -might package ecodes.c and get non-reproducible output. - -To fix this: introduce a --reproducible option in the build: -- in setup.py build_ecodes command -- in underlying genecodes_c.py - -Note: These options are disabled by default so no change is expected in -current builds. - -Signed-off-by: Yoann Congal -Upstream-Status: Submitted [https://github.com/gvalkov/python-evdev/pull/242] ---- - setup.py | 13 ++++++++++--- - src/evdev/genecodes_c.py | 17 +++++++++++------ - 2 files changed, 21 insertions(+), 9 deletions(-) - -diff --git a/setup.py b/setup.py -index 6b721d7..3371199 100755 ---- a/setup.py -+++ b/setup.py -@@ -14,7 +14,7 @@ curdir = Path(__file__).resolve().parent - ecodes_c_path = curdir / "src/evdev/ecodes.c" - - --def create_ecodes(headers=None): -+def create_ecodes(headers=None, reproducibility=False): - if not headers: - include_paths = set() - cpath = os.environ.get("CPATH", "").strip() -@@ -65,7 +65,10 @@ def create_ecodes(headers=None): - - print("writing %s (using %s)" % (ecodes_c_path, " ".join(headers))) - with ecodes_c_path.open("w") as fh: -- cmd = [sys.executable, "src/evdev/genecodes_c.py", "--ecodes", *headers] -+ cmd = [sys.executable, "src/evdev/genecodes_c.py"] -+ if reproducibility: -+ cmd.append("--reproducibility") -+ cmd.extend(["--ecodes", *headers]) - run(cmd, check=True, stdout=fh) - - -@@ -74,17 +77,21 @@ class build_ecodes(Command): - - user_options = [ - ("evdev-headers=", None, "colon-separated paths to input subsystem headers"), -+ ("reproducibility", None, "hide host details (host/paths) to create a reproducible output"), - ] - - def initialize_options(self): - self.evdev_headers = None -+ self.reproducibility = False - - def finalize_options(self): - if self.evdev_headers: - self.evdev_headers = self.evdev_headers.split(":") -+ if self.reproducibility is None: -+ self.reproducibility = False - - def run(self): -- create_ecodes(self.evdev_headers) -+ create_ecodes(self.evdev_headers, reproducibility=self.reproducibility) - - - class build_ext(_build_ext.build_ext): -diff --git a/src/evdev/genecodes_c.py b/src/evdev/genecodes_c.py -index 5c2d946..24cad27 100644 ---- a/src/evdev/genecodes_c.py -+++ b/src/evdev/genecodes_c.py -@@ -15,22 +15,27 @@ headers = [ - "/usr/include/linux/uinput.h", - ] - --opts, args = getopt.getopt(sys.argv[1:], "", ["ecodes", "stubs"]) -+opts, args = getopt.getopt(sys.argv[1:], "", ["ecodes", "stubs", "reproducibility"]) - if not opts: -- print("usage: genecodes.py [--ecodes|--stubs] ") -+ print("usage: genecodes.py [--ecodes|--stubs] [--reproducibility] ") - exit(2) - - if args: - headers = args - -+reproducibility = ("--reproducibility", "") in opts -+ - - # ----------------------------------------------------------------------------- - macro_regex = r"#define\s+((?:KEY|ABS|REL|SW|MSC|LED|BTN|REP|SND|ID|EV|BUS|SYN|FF|UI_FF|INPUT_PROP)_\w+)" - macro_regex = re.compile(macro_regex) - --# Uname without hostname. --uname = list(os.uname()) --uname = " ".join((uname[0], *uname[2:])) -+if reproducibility: -+ uname = "hidden for reproducibility" -+else: -+ # Uname without hostname. -+ uname = list(os.uname()) -+ uname = " ".join((uname[0], *uname[2:])) - - - # ----------------------------------------------------------------------------- -@@ -138,5 +143,5 @@ elif ("--stubs", "") in opts: - template = template_stubs - - body = os.linesep.join(body) --text = template % (uname, headers, body) -+text = template % (uname, headers if not reproducibility else ["hidden for reproducibility"], body) - print(text.strip()) diff --git a/meta-python/recipes-devtools/python/python3-evdev_1.9.1.bb b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb similarity index 75% rename from meta-python/recipes-devtools/python/python3-evdev_1.9.1.bb rename to meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb index af88770c59..28c8ea4bc1 100644 --- a/meta-python/recipes-devtools/python/python3-evdev_1.9.1.bb +++ b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb @@ -3,8 +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" +SRC_URI[sha256sum] = "5d3278892ce1f92a74d6bf888cc8525d9f68af85dbe336c95d1c87fb8f423069" inherit pypi python_setuptools_build_meta @@ -14,7 +13,7 @@ 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 \ - --reproducibility'" + --reproducible'" RDEPENDS:${PN} += "\ python3-ctypes \ From patchwork Mon Sep 8 21:39:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rene Muniz X-Patchwork-Id: 69833 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B258CAC582 for ; Mon, 8 Sep 2025 21:53:29 +0000 (UTC) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by mx.groups.io with SMTP id smtpd.web10.6735.1757368023272833605 for ; Mon, 08 Sep 2025 14:47:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OzHnZBnD; spf=pass (domain: gmail.com, ip: 209.85.160.169, mailfrom: rmmuniz@gmail.com) Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-4b490287648so82739321cf.2 for ; Mon, 08 Sep 2025 14:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757368022; x=1757972822; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sPYtidlTrQT1VkdbZHVNSL0vh6JBxus5SCwXNeVJw3A=; b=OzHnZBnD6SrhDGKPBVUOvvZ4M08MHi9GyaHUMJkr50OI4bQi0YGg2QuER7FwoC8c0j v1nIatMadXqfsBJE9/S05SZYkspk8CXBHJnmj6QcQw8NH6mHsiXHQaDoUAi2LIG/Lbbj uQjHSg+cSGRRtz3/RAwEphg5lSUuxu1c5g9Aq7I1bbWgGc4ufGJuMrrA7akqUEGW8oFK noIDZQ8pEKr7BMMhdENDZ4GhTOqbAYcBBNo/L5lXxMLoWzzvUUAoN+2R7sOG1NXf15E9 nJyNsVT0N0RrtgBOYgaUYAEojTcVqk8ODBHfRvc39o06aSzsamlqVn+VipIpC3xxxsJB In8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757368022; x=1757972822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sPYtidlTrQT1VkdbZHVNSL0vh6JBxus5SCwXNeVJw3A=; b=NPKUMeVUrOUccvkPLaTVaObNrGRsS2X+ilwajQSUw3vQJliPNJcGSBTHIFUnybu0Se NqCwfArIsRyGW/R2Jw7SIZgyleaR/ZsfZaS9fIn0PIdPPhshXJECFZRjjBNfJqpzbLZr FvHBc8BNiLVRghbo11062SsoQv3+p+Mrl+yvT6Z49hQMGulHkJMYQaaSjGRnvChoqDqW s6nUR4UybO4WhvF8FvZkz1q+t9WuRcOghWil3XCAk3LZ/WUE+NKyMm4ztwhwg9YlNTjk SeuCho5b4loeHWXvJSFspG4wfwE6psLXeog+2P+GAbrJpbep1Xs+6g+neDHhKtpzhdZV KekQ== X-Gm-Message-State: AOJu0YzY9fo5jQbhE0JOF0/i8Pn5RAEqo7o5Z/U+ccSxHCRR7ADqmWRS LaVzwZn2LXSeUDqK+ImaPM2EqwDLk/7EuEpdpvKsdNdKcONMitNwAl8dkWAF7BpO X-Gm-Gg: ASbGnct+IN83YGlhw7W24PZpn57miyNVGG5K4FmeABFwe+KmfsbCihY6I1w11QuT9iZ QZvTeTxZ3t6/CNR38KzXnE2Wxas4YavIWvNejxMrJut1kjyuvnlSXFSsuGUdgSVHRlwajUX5J7F hurRT0faHgNhu7vu3AdhQgjyGbtudsIRdMrTQS306tq7HDIIFz/IF+9KhdScJR9pmvs/epgD8Cj /yfcsg0Ak4mSCJTro5I1zZYlueVlgl6ovl4h+t36xJnT6alvqrUELzn5A+6xdHJHdwfyfZuZFLX 2dKcist5j72vWTAqdzIN6JFyebV/bfS0ocrneF4ViGi7rj0W7iyfSVRHl6sGCxvP2IgQijxxit7 qkhftl7UVnnmt4y6/hko= X-Google-Smtp-Source: AGHT+IHNZHUQF4p9jylgf17VmFvINr1/VamN8iUYzrQfDojFOzEwDWjf/4kdKD4YesA8baq4CGA0Cg== X-Received: by 2002:a05:622a:14c8:b0:4b5:f75c:156b with SMTP id d75a77b69052e-4b5f83ae156mr107409581cf.24.1757367599002; Mon, 08 Sep 2025 14:39:59 -0700 (PDT) Received: from rmuniz-SER5.. ([64.228.161.9]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4b61bbf54f7sm680501cf.47.2025.09.08.14.39.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 14:39:58 -0700 (PDT) From: Rene Muniz To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][walnascar][PATCH 2/3] python3-evdev: add missing uinput header Date: Mon, 8 Sep 2025 17:39:46 -0400 Message-Id: <20250908213947.481697-2-rmmuniz@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250908213947.481697-1-rmmuniz@gmail.com> References: <20250908213947.481697-1-rmmuniz@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 08 Sep 2025 21:53:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119337 From: Yoann Congal Without uinput.h header, the evdev module can't be imported because it lacks the UI_FF* constants. Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb index 28c8ea4bc1..dc777cb987 100644 --- a/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb +++ b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb @@ -12,7 +12,7 @@ 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:${STAGING_DIR_TARGET}/usr/include/linux/uinput.h \ --reproducible'" RDEPENDS:${PN} += "\ From patchwork Mon Sep 8 21:39:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rene Muniz X-Patchwork-Id: 69831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87ABECA1016 for ; Mon, 8 Sep 2025 21:53:29 +0000 (UTC) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) by mx.groups.io with SMTP id smtpd.web10.6734.1757368023268303870 for ; Mon, 08 Sep 2025 14:47:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b34vZwkE; spf=pass (domain: gmail.com, ip: 209.85.222.42, mailfrom: rmmuniz@gmail.com) Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-8943501ba3dso3152567241.3 for ; Mon, 08 Sep 2025 14:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757368022; x=1757972822; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UJVH8FfOGDs33RjB3DS7ix+hLnsHytIBGkJYkMxXHAI=; b=b34vZwkEuxuV9aVSsqEHM4H37MB7k8goq0PXvuZH+IHPOX7NdLUgP1e6mj6zSajelO E4kuljGDn1E19KpxxZHDUJbODwJtl0txBHfNuaon9MLJWf0iMD4JRiVa/fJpUEgvm2rr Hli3rZcJHxdEbNBLjd4IclztMFDKjEKEgHy8yVjZejMklk3CT3cnBzRXhnSfAQBWgxOU JIPp81G2jEWtO+t1qKlwEdj5kBjz2mxLoS0UZjDoFI6ELHDaVipLzJM93hXkRECWVy0E o00psxSHLfANjsZNca7qpKRw4qcXZIhWXlvvmPh8N3QfenvpQsXA4Zg49qxAHt6mNPVI nIRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757368022; x=1757972822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UJVH8FfOGDs33RjB3DS7ix+hLnsHytIBGkJYkMxXHAI=; b=m37u8cTwK51goz2LJ4/eYX0TfbFEzSdh9bvDgQNxkS++JRvMMpknW85z4ug0Op2mEC NIQNSSggesPJw8bS9kAC6i/lLhDf5ZUrN+1WuV6/hubvAfPvA9TdPXs1W2noxJ7p3mAu 2bLAPSuxbp/Vo/0V6g0JM6WCtTjwjpJETDcCR7zSgtCP3SnWFFjpDgDfeXmR2mdu/9Gt +LSTmg34MruOEaOtWZHcTgFwrwoiF8Rm+X6hP4sLMsxObYxP7QQClfKy13e+FXLKZo4T XYGmC2N6WZOYbT466/kvHTQbcTltbb/3SLl9BZWXxMjHDMmSNWlQLASvqIwM6gvv1qrf yWCw== X-Gm-Message-State: AOJu0Yw6Ep+CT6Zuu8ET6C/B6elbyif2ELNVUIoffImgn5gi74FagimI Ttu7PjlsV4ohxESE22fxjw/KQ55uwC+68IGp77Lw9Z0DSgnU28Ryui106iBPxpjv X-Gm-Gg: ASbGncuhBMlwE4UGxuuea/zZ2jueM1GDXaHjllzfnkfeJrNZTjj+wLIxLsp1cCgZhPp 1DAKwVKIFY8DUGgxt8r3CiCM6a7rGgcGsDmSJddsqOM1fCxDhNcofj+SXDQGbhUZLMPOStI08nd Wl8kZYDZ8khqN/sbO+S+4kNWmc0Q3b7XCD2pKmI98YN31SKesLnfFexg13O4GMK5KUc6Ga9vKnZ 6jhxeRUpvppFc3VXhBiPnR/lvXBGxhESWRwM6hjhcislFtlX7S7zgCzcclcXqUISVK/rA6HBfSV 01utErRfkkKUj/1yn7LTqQljcMkiQjmdrQxy0QQGHCRTXZU72rc3kPcN9DhLeJneS/Tf6vUJgVP 3ZTjCYqFAWI88wyQtHahopkBbSuHEvLhhCkl2JQFD X-Google-Smtp-Source: AGHT+IHUsOkbeJUbeLHiYtlgDO3s2Jfh8aT3tfgy4Gu9WrCE1cd4fMc+K8s6UqgnNSpGqBaWrlCL8Q== X-Received: by 2002:a05:622a:164a:b0:4b4:8f35:c902 with SMTP id d75a77b69052e-4b5f8386268mr102462401cf.4.1757367599731; Mon, 08 Sep 2025 14:39:59 -0700 (PDT) Received: from rmuniz-SER5.. ([64.228.161.9]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4b61bbf54f7sm680501cf.47.2025.09.08.14.39.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 14:39:59 -0700 (PDT) From: Rene Muniz To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][walnascar][PATCH 3/3] python3-evdev: add ptest Date: Mon, 8 Sep 2025 17:39:47 -0400 Message-Id: <20250908213947.481697-3-rmmuniz@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250908213947.481697-1-rmmuniz@gmail.com> References: <20250908213947.481697-1-rmmuniz@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 08 Sep 2025 21:53:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119338 From: Yoann Congal root@qemux86-64:~# ptest-runner python3-evdev START: ptest-runner 2025-05-02T22:19 BEGIN: /usr/lib/python3-evdev/ptest [ 61.988046] input: test-py-evdev-uinput as /devices/virtual/input/input18 [ 61.990878] input: test-py-evdev-uinput as /devices/virtual/input/input19 [ 61.993060] input: test-py-evdev-uinput as /devices/virtual/input/input20 [ 61.994497] input: py-evdev-uinput as /devices/virtual/input/input21 [ 61.996659] input: test-py-evdev-uinput as /devices/virtual/input/input22 PASS: tests/test_ecodes.py:test_equality PASS: tests/test_ecodes.py:test_access PASS: tests/test_ecodes.py:test_overlap PASS: tests/test_ecodes.py:test_generated PASS: tests/test_events.py:test_categorize PASS: tests/test_events.py:test_keyevent PASS: tests/test_uinput.py:test_open PASS: tests/test_uinput.py:test_open_context PASS: tests/test_uinput.py:test_maxnamelen PASS: tests/test_uinput.py:test_enable_events PASS: tests/test_uinput.py:test_abs_values PASS: tests/test_uinput.py:test_write PASS: tests/test_uinput.py:test_not_a_character_device PASS: tests/test_uinput.py:test_not_a_character_device_2 PASS: tests/test_uinput.py:test_not_a_character_device_3 PASS: tests/test_util.py:test_match_ecodes_a ============================================================================ Testsuite summary DURATION: 0 END: /usr/lib/python3-evdev/ptest 2025-05-02T22:19 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index ca91065af0..8a82db0edc 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -21,6 +21,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-click \ python3-dasbus \ python3-dominate \ + python3-evdev \ python3-execnet \ python3-flask \ python3-flexcache \ diff --git a/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb index dc777cb987..993dfca1e6 100644 --- a/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb +++ b/meta-python/recipes-devtools/python/python3-evdev_1.9.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d7bd1cc4c71b706c7e2d4053aef50f2a" SRC_URI[sha256sum] = "5d3278892ce1f92a74d6bf888cc8525d9f68af85dbe336c95d1c87fb8f423069" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta ptest-python-pytest do_compile:prepend() { rm -rf ${S}/evdev/ecodes.c