Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Non-validating SQL parser module" |
| 2 | HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" |
| 3 | SECTION = "devel/python" |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 4 | LICENSE = "BSD-3-Clause" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" |
| 6 | |
| 7 | SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \ |
| 8 | file://run-ptest \ |
| 9 | " |
| 10 | |
Patrick Williams | 93c203f | 2021-10-06 16:15:23 -0500 | [diff] [blame] | 11 | SRC_URI[sha256sum] = "0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | |
| 13 | export BUILD_SYS |
| 14 | export HOST_SYS |
| 15 | |
| 16 | inherit pypi ptest setuptools3 |
| 17 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 18 | RDEPENDS:${PN}-ptest += " \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 19 | ${PYTHON_PN}-pytest \ |
| 20 | ${PYTHON_PN}-unixadmin \ |
| 21 | " |
| 22 | |
| 23 | do_install_ptest() { |
| 24 | install -d ${D}${PTEST_PATH}/tests |
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 26 | } |
| 27 | |
| 28 | BBCLASSEXTEND = "native nativesdk" |