diff mbox series

[meta-python,079/105] python3-pyudev: upgrade 0.24.4 -> 0.24.5

Message ID 20261116175359.342679-79-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:53 p.m. UTC
Drop the setup.py version hack; upstream dropped setup.py.

Changes:
- Breaking: require at least Python 3.10; Python 2 leftovers and
  PyQt4 support removed.
- Project metadata now exclusively in pyproject.toml.
- Use the returned error code for udev_monitor functions.
- Docs: clarify binary nature of sysfs attributes.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../{python3-pyudev_0.24.4.bb => python3-pyudev_0.24.5.bb} | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyudev_0.24.4.bb => python3-pyudev_0.24.5.bb} (57%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.24.5.bb
similarity index 57%
rename from meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb
rename to meta-python/recipes-devtools/python/python3-pyudev_0.24.5.bb
index c75d822c48..54a39e7212 100644
--- a/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pyudev_0.24.5.bb
@@ -3,15 +3,10 @@  SUMMARY = "A libudev binding"
 LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-SRC_URI[sha256sum] = "e788bb983700b1a84efc2e88862b0a51af2a995d5b86bc9997546505cf7b36bc"
+SRC_URI[sha256sum] = "4e7faaec419b81a902d057568101819f448972c0cf448bb9c22203e4fc6a8eb9"
 
 inherit pypi python_setuptools_build_meta
 
-do_configure:prepend() {
-    sed -i "/import pyudev/d" ${S}/setup.py
-    sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py
-}
-
 RDEPENDS:${PN} = "\
     python3-ctypes \
     python3-misc \