python3-uinput: new package

Add a recipe for python3-uinput: a python module for controlling the
virtual input devices on linux.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski
2022-05-24 21:46:42 +02:00
committed by Khem Raj
parent 03a1a24618
commit dda4a40fcf
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
SUMMARY = "Python interface to Linux uinput kernel module."
HOMEPAGE = "https://pypi.org/project/python-uinput/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
SRC_URI[sha256sum] = "99392b676c77b5795b86b7d75274db33fe754fd1e06fb3d58b167c797dc47f0c"
SRC_URI += "file://0001-setup-use-setuptools-instead-of-distutils.patch"
PYPI_PACKAGE = "python-uinput"
inherit pypi setuptools3
DEPENDS += "udev"
RDEPENDS:${PN} += " \
python3-ctypes \
python3-distutils \
"
RRECOMMENDS:${PN} += "kernel-module-uinput"