From c11ffc23a5bdfe6e1d49835f01462e293577e7bf Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 25 Jun 2024 16:56:11 +0800 Subject: python3-parse: upgrade 1.20.1 -> 1.20.2 Changelog: allow hyphen in field name. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-parse_1.20.2.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-parse_1.20.2.bb (limited to 'meta-python/recipes-devtools/python/python3-parse_1.20.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb b/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb new file mode 100644 index 0000000000..6e7139bfbe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-parse_1.20.2.bb @@ -0,0 +1,27 @@ +SUMMARY = "Parse strings using a specification based on the Python format() syntax" +HOMEPAGE = "https://github.com/r1chardj0n3s/parse" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05" + +SRC_URI[sha256sum] = "b41d604d16503c79d81af5165155c0b20f6c8d6c559efa66b4b695c3e5a0a0ce" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN} += "\ + python3-datetime \ + python3-logging \ + python3-numbers \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + cp -f ${S}/tests/test*.py ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf