summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-sqlparse.inc
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-03-30 13:56:14 +0800
committerKhem Raj <raj.khem@gmail.com>2020-03-30 11:44:47 -0700
commitac867f6fa6273ca3361cc6b5b07ca23ef6d25ae6 (patch)
tree360edfb89fb301a47d80ad00532d2b89c624dec8 /meta-python/recipes-devtools/python/python-sqlparse.inc
parent0b5e3ef98a60b777cc7b4f831f5be6ee5a5113f1 (diff)
downloadmeta-openembedded-ac867f6fa6273ca3361cc6b5b07ca23ef6d25ae6.tar.gz
python3-sqlparse: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-sqlparse.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-sqlparse.inc16
1 files changed, 14 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python-sqlparse.inc b/meta-python/recipes-devtools/python/python-sqlparse.inc
index 473232d652..45a1e56775 100644
--- a/meta-python/recipes-devtools/python/python-sqlparse.inc
+++ b/meta-python/recipes-devtools/python/python-sqlparse.inc
@@ -4,7 +4,9 @@ SECTION = "devel/python"
4LICENSE = "BSD" 4LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc"
6 6
7SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch" 7SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \
8 file://run-ptest \
9 "
8 10
9SRC_URI[md5sum] = "423047887a3590b04dd18f8caf843a2f" 11SRC_URI[md5sum] = "423047887a3590b04dd18f8caf843a2f"
10SRC_URI[sha256sum] = "e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548" 12SRC_URI[sha256sum] = "e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548"
@@ -12,4 +14,14 @@ SRC_URI[sha256sum] = "e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d
12export BUILD_SYS 14export BUILD_SYS
13export HOST_SYS 15export HOST_SYS
14 16
15inherit pypi 17inherit pypi ptest
18
19RDEPENDS_${PN}-ptest += " \
20 ${PYTHON_PN}-pytest \
21 ${PYTHON_PN}-unixadmin \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}