diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlparse/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | 13 |
2 files changed, 1 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb index 588568c6a2..0282c1848d 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | |||
@@ -4,27 +4,16 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" |
6 | 6 | ||
7 | SRC_URI:append = " \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" | 7 | SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" |
12 | 8 | ||
13 | export BUILD_SYS | 9 | export BUILD_SYS |
14 | export HOST_SYS | 10 | export HOST_SYS |
15 | 11 | ||
16 | inherit pypi ptest python_hatchling | 12 | inherit pypi ptest-python-pytest python_hatchling |
17 | 13 | ||
18 | RDEPENDS:${PN}-ptest += "\ | 14 | RDEPENDS:${PN}-ptest += "\ |
19 | python3-mypy \ | 15 | python3-mypy \ |
20 | python3-pytest \ | ||
21 | python3-unittest-automake-output \ | ||
22 | python3-unixadmin \ | 16 | python3-unixadmin \ |
23 | " | 17 | " |
24 | 18 | ||
25 | do_install_ptest() { | ||
26 | install -d ${D}${PTEST_PATH}/tests | ||
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |