package/python-hwdata: new package

Provides python interface to database stored in hwdata
package. It allows you to get human readable description of
USB and PCI devices.

https://github.com/xsuchy/python-hwdata

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain
2023-03-13 22:34:39 +01:00
committed by Thomas Petazzoni
parent a2867fec00
commit 7a99e1fa29
7 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonHwdata(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_HWDATA=y
"""
sample_scripts = ["tests/package/sample_python_hwdata.py"]
timeout = 10