python3-sqlparse 0.4.4 -> 0.5.0

Drop patch as this version supports python3.
Furthermore move to hatchling build system.

Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tom Geelen
2024-06-29 14:23:04 +00:00
committed by Khem Raj
parent 35f3aa76f1
commit 8c486b8c29
2 changed files with 6 additions and 47 deletions

View File

@@ -0,0 +1,29 @@
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] = "714d0a4932c059d16189f58ef5411ec2287a4360f17cdd0edd2d09d4c5087c93"
export BUILD_SYS
export HOST_SYS
inherit pypi ptest python_hatchling
RDEPENDS:${PN}-ptest += "\
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"