Files
buildroot/support/testing/tests/package/test_python_libyang.py
Vincent Jardin 3872cf8a75 package/python-libyang: new package
Python CFFI bindings for the libyang YANG library, providing the
'libyang' Python module for YANG data modeling operations.

This package is used by higher-level tooling such as python-sysrepo.

https://github.com/CESNET/libyang-python
Signed-off-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Vincent Cruz <mooz@blockos.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-05-30 16:17:18 +02:00

13 lines
369 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonLibyang(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON3_PYEXPAT=y
BR2_PACKAGE_PYTHON_LIBYANG=y
"""
sample_scripts = ["tests/package/sample_python_libyang.py"]