diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-serpent.inc | 16 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-serpent/run-ptest | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-serpent.inc b/meta-python/recipes-devtools/python/python-serpent.inc index 1a3aac07fe..676ea39de3 100644 --- a/meta-python/recipes-devtools/python/python-serpent.inc +++ b/meta-python/recipes-devtools/python/python-serpent.inc | |||
@@ -5,7 +5,21 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5cd70632b6cdb96df9ddaf6a4ce619e6" | |||
5 | SRC_URI[md5sum] = "15ef8b67c76a6d19bac9c16731a1e62a" | 5 | SRC_URI[md5sum] = "15ef8b67c76a6d19bac9c16731a1e62a" |
6 | SRC_URI[sha256sum] = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab" | 6 | SRC_URI[sha256sum] = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab" |
7 | 7 | ||
8 | inherit pypi | 8 | inherit pypi ptest |
9 | |||
10 | SRC_URI += " \ | ||
11 | file://run-ptest \ | ||
12 | " | ||
13 | |||
14 | RDEPENDS_${PN}-ptest += " \ | ||
15 | ${PYTHON_PN}-pytest \ | ||
16 | ${PYTHON_PN}-pytz \ | ||
17 | " | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
9 | 23 | ||
10 | RDEPENDS_${PN} += "\ | 24 | RDEPENDS_${PN} += "\ |
11 | ${PYTHON_PN}-netclient \ | 25 | ${PYTHON_PN}-netclient \ |
diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest new file mode 100644 index 0000000000..40c284799d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-serpent/run-ptest | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | pytest | ||