summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb b/meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb
new file mode 100644
index 0000000000..1c8a99eb33
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "python-libevdev is a Python wrapper around the libevdev C library."
2HOMEPAGE = "https://gitlab.freedesktop.org/libevdev/python-libevdev"
3SECTION = "devel/python"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747"
7
8SRC_URI[sha256sum] = "dc3369cd1401767b9ecb1117cd6b73faba9038e3bd9e1695a710a9e9d9415e8d"
9
10inherit pypi python_hatchling ptest
11
12PYPI_PACKAGE = "libevdev"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS:${PN} += " \
19 libevdev \
20 python3-ctypes \
21"
22
23RDEPENDS:${PN}-ptest += " \
24 python3-pytest \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/test
29 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
30}
31