python-pyudev: add new package
authorAndreas Hirschauer <redacted>
Tue, 10 Mar 2026 12:32:38 +0000 (12:32 +0000)
committerAlexandru Ardelean <redacted>
Mon, 30 Mar 2026 05:45:39 +0000 (08:45 +0300)
pyudev provides Python bindings for libudev.

Signed-off-by: Andreas Hirschauer <redacted>
lang/python/python-pyudev/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-pyudev/Makefile b/lang/python/python-pyudev/Makefile
new file mode 100644 (file)
index 0000000..33a4114
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2026 Andreas Hirschauer
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-pyudev
+PKG_VERSION:=0.24.4
+PKG_RELEASE:=1
+
+PYPI_NAME:=pyudev
+PKG_HASH:=e788bb983700b1a84efc2e88862b0a51af2a995d5b86bc9997546505cf7b36bc
+
+PKG_LICENSE:=LGPL-2.1-or-later
+PKG_LICENSE_FILES:=COPYING
+PKG_MAINTAINER:=Andreas Hirschauer <andi@linux.com>
+PKG_BUILD_DEPENDS:=python-setuptools/host
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-pyudev
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Python bindings for libudev
+  URL:=https://github.com/pyudev/pyudev
+  DEPENDS:=+python3-light +python3-ctypes +libudev-zero
+endef
+
+
+define Package/python3-pyudev/description
+ pyudev is a pure Python binding for libudev.
+endef
+
+$(eval $(call Py3Package,python3-pyudev))
+$(eval $(call BuildPackage,python3-pyudev))
+$(eval $(call BuildPackage,python3-pyudev-src))
git clone https://git.99rst.org/PROJECT