python3-inline-snapshot: upgrade 0.20.2 -> 0.20.5

Changelog:
============
- correct normalization of "python3.9" to "python" in tests
- Prevent a crash if a value cannot be copied and a UsageError is raised.
- Use the black API directly to format python code.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2025-03-11 16:54:55 +08:00
committed by Khem Raj
parent 0de97a0237
commit bab8a77afe

View File

@@ -0,0 +1,21 @@
SUMMARY = "golden master/snapshot/approval testing library which puts the values right into your source code"
HOMEPAGE = "https://15r10nk.github.io/inline-snapshot"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4"
DEPENDS = "python3-hatchling-native"
SRC_URI[sha256sum] = "d8b67c6d533c0a3f566e72608144b54da65dc3da5d0dba4169b2c56b75530fb5"
inherit pypi python_hatchling
PYPI_PACKAGE = "inline_snapshot"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
RDEPENDS:${PN} = "python3-asttokens \
python3-black \
python3-click \
python3-executing \
python3-rich \
python3-tomli \
python3-typing-extensions \
"