python3-breathe: Fix ptests with docutils 0.23 and doxygen 1.18

docutils 0.23 serializes boolean attributes as "1"/"0" rather than
"True"/"False", which made almost every test_examples case fail; add a
patch that normalizes the value when comparing.

The class, cpp_function, group and headings examples compare against
models generated with doxygen 1.9.x and do not match doxygen 1.18
output, so deselect them in a custom run-ptest.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-10-23 08:54:00 -07:00
1 parent cd1bf9ee36
commit cafddff7a7
3 files changed
+50

No files matched your search

@@ -6,6 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6"
SRC_URI[sha256sum] = "ff56af8bfd0b50ebf10c81a07b8a5739787eb015d26b4ba162b6983d6e17c7c3"
SRC_URI += "file://0001-tests-accept-docutils-0.23-boolean-attribute-seriali.patch \
file://run-ptest \
"
inherit pypi python_flit_core ptest ptest-python-pytest
RDEPENDS:${PN} = "python3-sphinx"