summaryrefslogtreecommitdiffstats
path: root/lang/python/python-pyudev/Makefile
blob: 33a4114d3e2e6fc8a98994d88316edfb84561756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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))