meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.0.bb
Tom Geelen 8c486b8c29
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>
2024-06-30 12:33:50 -07:00

30 lines
691 B
BlitzBasic

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"