package/python-uhid: new package

This package requires CONFIG_UHID kernel support.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2023-01-16 21:16:10 -07:00 committed by Thomas Petazzoni
parent 498797acce
commit c4192ba970
5 changed files with 33 additions and 0 deletions

View File

@ -1401,6 +1401,7 @@ F: package/python-tinycss2/
F: package/python-tomli/
F: package/python-typeguard/
F: package/python-typing-inspect/
F: package/python-uhid/
F: package/python-weasyprint/
F: package/python-yarl/
F: package/python-zopfli/

View File

@ -1313,6 +1313,7 @@ menu "External python modules"
source "package/python-typing-inspect/Config.in"
source "package/python-u-msgpack/Config.in"
source "package/python-ubjson/Config.in"
source "package/python-uhid/Config.in"
source "package/python-ujson/Config.in"
source "package/python-unittest-xml-reporting/Config.in"
source "package/python-urllib3/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_UHID
bool "python-uhid"
help
Pure Python typed UHID wrapper.
https://github.com/FFY00/python-uhid

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/uhid/json
md5 1c62bbefe10923545bbdf42355d9be07 uhid-0.0.1.tar.gz
sha256 3c782489890dbf33621fb2c30d1ac81fbc1b3ef1911ae7d4c73907cdc0f59aab uhid-0.0.1.tar.gz
# Locally computed sha256 checksums
sha256 106a8f7c2c26bd2acc597c79a36a2fe3979f98a14dc14c6065b7dc9c58b27f33 LICENSE

View File

@ -0,0 +1,20 @@
################################################################################
#
# python-uhid
#
################################################################################
PYTHON_UHID_VERSION = 0.0.1
PYTHON_UHID_SOURCE = uhid-$(PYTHON_UHID_VERSION).tar.gz
PYTHON_UHID_SITE = https://files.pythonhosted.org/packages/cb/44/6ebe9dceadc028507d16603e2bb542557a4c70c6032ef8ee507c3ce51283
PYTHON_UHID_SETUP_TYPE = setuptools
PYTHON_UHID_LICENSE = MIT
PYTHON_UHID_LICENSE_FILES = LICENSE
define PYTHON_UHID_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_INPUT)
$(call KCONFIG_ENABLE_OPT,CONFIG_HID)
$(call KCONFIG_ENABLE_OPT,CONFIG_UHID)
endef
$(eval $(python-package))