From 01214229edc5bb723dbc3591df731e40a2af7d60 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 18 Nov 2024 17:29:40 +0800 Subject: python3-flexparser: upgrade 0.3.1 -> 0.4 Changelog: ============= Exceptions are not longer dataclasses. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-flexparser_0.4.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flexparser_0.4.bb (limited to 'meta-python/recipes-devtools/python/python3-flexparser_0.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb new file mode 100644 index 0000000000..ef8cbe5a54 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb @@ -0,0 +1,31 @@ +SUMMARY = "Parsing made fun ... using typing." +HOMEPAGE = "https://github.com/hgrecco/flexparser" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=32f547dac365c355d2cdbcd7ebea9144" + +DEPENDS += "python3-setuptools-scm-native" +SRC_URI[sha256sum] = "266d98905595be2ccc5da964fe0a2c3526fbbffdc45b65b3146d75db992ef6b2" + +inherit pypi python_setuptools_build_meta ptest + +PYPI_PACKAGE = "flexparser" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/testsuite + cp -rf ${S}/flexparser/testsuite/* ${D}${PTEST_PATH}/testsuite/ +} + +RDEPENDS:${PN} += " \ + python3-compression \ + python3-email \ + python3-logging \ +" -- cgit v1.2.3-54-g00ecf