From e2870d7669aa3006780c7d672cd7b51499e1d396 Mon Sep 17 00:00:00 2001 From: Vincent Fazio Date: Fri, 14 Feb 2025 11:43:57 -0600 Subject: [PATCH] package/python-evdev: bump to version 1.9.0 Since Buildroot commit [1] "package/python-evdev: bump to version 1.8.0", python-evdev is failing to build with error: evdev/ecodes.c: In function 'PyInit__ecodes': evdev/ecodes.c:65:29: error: 'BUS_AMD_SFH' undeclared (first use in this function) 65 | PyModule_AddIntMacro(m, BUS_AMD_SFH); | ^~~~~~~~~~~ /home/autobuild/autobuild/instance-8/output-1/build/python3-3.12.8/Include/modsupport.h:61:70: note: in definition of macro 'PyModule_AddIntMacro' 61 | #define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c)) | ^ ... Upstream commit [2] included in this version fixes issues when building wheels. Fixes: - https://gitlab.com/buildroot.org/buildroot/-/jobs/9085451384 - https://autobuild.buildroot.org/results/61a3b74e60f2f0f93e312803812ab4d98c492599/ - and many others... [1] https://gitlab.com/buildroot.org/buildroot/-/commit/455ef44d26f027abc1936ba9041427a4b2e86f42 [2] https://github.com/gvalkov/python-evdev/commit/3ff9816e08be95b331ea9dadc18fc17f1e04e272 Signed-off-by: Vincent Fazio [Julien: reworded the commit log to add extra info] Signed-off-by: Julien Olivain --- package/python-evdev/python-evdev.hash | 4 ++-- package/python-evdev/python-evdev.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-evdev/python-evdev.hash b/package/python-evdev/python-evdev.hash index d31e236989..733c0c9cda 100644 --- a/package/python-evdev/python-evdev.hash +++ b/package/python-evdev/python-evdev.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/evdev/json -md5 a38ac9e2297940430bb27cea41be964e evdev-1.8.0.tar.gz -sha256 45598eee1ae3876a3122ca1dc0ec8049c01931672d12478b5c610afc24e47d75 evdev-1.8.0.tar.gz +md5 c1440732b435dad5796bbb8e91d0340b evdev-1.9.0.tar.gz +sha256 38218bc95507cad756bc621a5fe7a77a41eb8d9c1213855de8e4ba0aba28e79f evdev-1.9.0.tar.gz # Locally computed sha256 checksums sha256 d4554960d6496150c88c1fd02d7973121a9a57b961ea58fe349fbf8ada3816b2 LICENSE diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk index f465aff933..d24974a037 100644 --- a/package/python-evdev/python-evdev.mk +++ b/package/python-evdev/python-evdev.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_EVDEV_VERSION = 1.8.0 +PYTHON_EVDEV_VERSION = 1.9.0 PYTHON_EVDEV_SOURCE = evdev-$(PYTHON_EVDEV_VERSION).tar.gz -PYTHON_EVDEV_SITE = https://files.pythonhosted.org/packages/4c/eb/b8900082a13a47bb9f69f415174d03cbf12ce95d07345722e1f4ef0e2093 +PYTHON_EVDEV_SITE = https://files.pythonhosted.org/packages/8c/bf/0fe4d372ee62fe5aec06aae2e97c0603d131b8e3cbaffa2329e0bd763a98 PYTHON_EVDEV_SETUP_TYPE = setuptools PYTHON_EVDEV_LICENSE = Revised BSD License PYTHON_EVDEV_LICENSE_FILES = LICENSE