From 752053c9fd052ba7be7ce0da4ef3eaeabc07a0c4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:51 +0800 Subject: python3-sqlparse: upgrade 0.5.2 -> 0.5.3 Changelog: - introduces a more generalized handling of potential denial of service attack (DOS) due to recursion errors for deeply nested statements. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-sqlparse_0.5.3.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb (limited to 'meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb new file mode 100644 index 0000000000..588568c6a2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Non-validating SQL parser module" +HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" + +SRC_URI:append = " \ + file://run-ptest \ +" + +SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" + +export BUILD_SYS +export HOST_SYS + +inherit pypi ptest python_hatchling + +RDEPENDS:${PN}-ptest += "\ + python3-mypy \ + python3-pytest \ + python3-unittest-automake-output \ + python3-unixadmin \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf