package/python-evdev: new package

evdev 1.6.1 https://pypi.org/project/evdev/

Signed-off-by: Witold Lipieta <witold.lipieta@thaumatec.com>
[yann.morin.1998@free.fr:
  - add missing comment on kernel headers
  - fix flake8 in test
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Witold Lipieta
2023-04-17 15:03:42 +02:00
committed by Yann E. MORIN
parent a7ad781626
commit b100440bff
6 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Evdev(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_EVDEV=y
"""
sample_scripts = ["tests/package/sample_python_evdev.py"]