summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-sqlparse/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb13
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
3pytest --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"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc"
6 6
7SRC_URI:append = " \
8 file://run-ptest \
9"
10
11SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" 7SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272"
12 8
13export BUILD_SYS 9export BUILD_SYS
14export HOST_SYS 10export HOST_SYS
15 11
16inherit pypi ptest python_hatchling 12inherit pypi ptest-python-pytest python_hatchling
17 13
18RDEPENDS:${PN}-ptest += "\ 14RDEPENDS:${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
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}
29
30BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"