mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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:
committed by
Thomas Petazzoni
parent
a2867fec00
commit
7a99e1fa29
12
support/testing/tests/package/test_python_hwdata.py
Normal file
12
support/testing/tests/package/test_python_hwdata.py
Normal 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
|
||||
Reference in New Issue
Block a user