meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.1.bb
Khem Raj 06c66fc320
python3-sqlparse: Add missing rdep on mypy module for ptests
This is needed for fixing

Failed ptests:
{'python3-sqlparse': ['tests/test_cli.py:test_encoding_stdout[encoding_gbk.sql-gbk]',
                      'tests/test_cli.py:test_encoding_output_file[encoding_gbk.sql-gbk]',
                      'tests/test_cli.py:test_encoding_stdin[encoding_gbk.sql-gbk]']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 11:18:03 -07:00

31 lines
710 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] = "bb6b4df465655ef332548e24f08e205afc81b9ab86cb1c45657a7ff173a3a00e"
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"