python3-cbor2: Install docs/usage.rst for ptests

tests/test_sequence_docs.py executes the code examples embedded in
docs/usage.rst, resolved relative to the tests directory. The file was
not installed, so all 26 tests in it failed with:

  FileNotFoundError: [Errno 2] No such file or directory:
  '/usr/lib/python3-cbor2/ptest/docs/usage.rst'

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-11-03 22:07:25 -08:00
1 parent b893deb446
commit 37520ee64a
1 file changed
+4
@@ -11,6 +11,10 @@ CARGO_SRC_DIR = "rust"
require ${BPN}-crates.inc
do_install_ptest:append() {
install -Dm 0644 ${S}/docs/usage.rst ${D}${PTEST_PATH}/docs/usage.rst
}
RDEPENDS:${PN}-ptest += " \
python3-hypothesis \
python3-tzdata \