From 8d24a879eb6e510ddc10a844092fab3eccfec8bc Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 27 Sep 2022 17:37:13 +0800 Subject: python3-sqlparse: upgrade 0.4.2 -> 0.4.3 Changelog: ========== Enhancements ------------- Add support for DIV operator Add support for additional SPARK keywords Avoid tokens copy Add REGEXP as a comparision Add DISTINCTROW keyword for MS Access (issue677). Improve parsing of CREATE TABLE AS SELECT Bug Fixes --------- Fix spelling of INDICATOR keyword Fix formatting error in EXTRACT function Fix bad parsing of create table statements that use lower case Handle backtick as valid quote char Allow any unicode character as valid identifier name (issue641). Other ------- Update github actions to test on Python 3.10 as well Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- .../python/python3-sqlparse_0.4.3.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-sqlparse_0.4.3.bb (limited to 'meta-python/recipes-devtools/python/python3-sqlparse_0.4.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.4.3.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.3.bb new file mode 100644 index 0000000000..c952c71d0b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.4.3.bb @@ -0,0 +1,28 @@ +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 += "file://0001-sqlparse-change-shebang-to-python3.patch \ + file://run-ptest \ + " + +SRC_URI[sha256sum] = "69ca804846bb114d2ec380e4360a8a340db83f0ccf3afceeb1404df028f57268" + +export BUILD_SYS +export HOST_SYS + +inherit pypi ptest setuptools3 + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-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