| 1 |
Source: dt-schema |
| 2 |
Section: devel |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Python Team <[email protected]> |
| 5 |
Uploaders: |
| 6 |
Agathe Porte <[email protected]>, |
| 7 |
Build-Depends: |
| 8 |
debhelper-compat (= 13), |
| 9 |
pybuild-plugin-pyproject, |
| 10 |
python3, |
| 11 |
python3-jsonschema, |
| 12 |
python3-libfdt, |
| 13 |
python3-rfc3987, |
| 14 |
python3-ruamel.yaml, |
| 15 |
python3-setuptools, |
| 16 |
python3-setuptools-scm, |
| 17 |
Standards-Version: 4.6.2 |
| 18 |
Testsuite: autopkgtest-pkg-python |
| 19 |
Homepage: https://www.devicetree.org |
| 20 |
Vcs-Git: https://salsa.debian.org/python-team/packages/dt-schema.git |
| 21 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/dt-schema |
| 22 |
Rules-Requires-Root: no |
| 23 |
|
| 24 |
Package: dt-schema |
| 25 |
Architecture: all |
| 26 |
Depends: |
| 27 |
${misc:Depends}, |
| 28 |
${python3:Depends}, |
| 29 |
Description: Tooling for devicetree validation using YAML and jsonschema |
| 30 |
This package contains test code for devicetree schema validation using the |
| 31 |
json-schema vocabulary. Schema files are written in YAML (a superset of JSON), |
| 32 |
and operate on the YAML encoding of Devicetree data. Devicetree data must be |
| 33 |
transcoded from DTS to YAML before being used by this tool. |
| 34 |
. |
| 35 |
There are several tools available: |
| 36 |
. |
| 37 |
dt-doc-validate This tool takes a schema file(s) or directory of schema |
| 38 |
files and validates them against the DT meta-schema. |
| 39 |
. |
| 40 |
dt-mk-schema This tool takes user-provided schema file(s) plus the core |
| 41 |
schema files in this repo, removes everything not needed for validation, |
| 42 |
applies fix-ups to the schemas, and outputs a single file with the processed |
| 43 |
schema. This step is done separately to speed up subsequent validation of YAML |
| 44 |
Devicetrees. |
| 45 |
. |
| 46 |
dt-validate This tool takes user-provided YAML Devicetree(s) and either |
| 47 |
a schema directory or pre-processed schema file and validates the YAML |
| 48 |
Devicetree against the schema. |