summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-parse-type.inc15
-rw-r--r--meta-python/recipes-devtools/python/python3-parse-type/run-ptest3
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-parse-type.inc b/meta-python/recipes-devtools/python/python-parse-type.inc
index 4549ec98b8..147ea6443f 100644
--- a/meta-python/recipes-devtools/python/python-parse-type.inc
+++ b/meta-python/recipes-devtools/python/python-parse-type.inc
@@ -7,6 +7,19 @@ SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
7SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" 7SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
8 8
9PYPI_PACKAGE = "parse_type" 9PYPI_PACKAGE = "parse_type"
10inherit pypi 10inherit pypi ptest
11 11
12RDEPENDS_${PN} += "${PYTHON_PN}-parse" 12RDEPENDS_${PN} += "${PYTHON_PN}-parse"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS_${PN}-ptest += " \
19 ${PYTHON_PN}-pytest \
20"
21
22do_install_ptest() {
23 install -d ${D}${PTEST_PATH}/tests
24 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
25}
diff --git a/meta-python/recipes-devtools/python/python3-parse-type/run-ptest b/meta-python/recipes-devtools/python/python3-parse-type/run-ptest
new file mode 100644
index 0000000000..5cec711696
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse-type/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest