summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytoml/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb17
2 files changed, 3 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
index 49390df83d..15dc2f2c44 100644
--- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
+++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb
@@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078"
6 6
7SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" 7SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7"
8 8
9inherit pypi setuptools3 ptest 9inherit pypi setuptools3 ptest-python-pytest
10 10
11BBCLASSEXTEND = "native nativesdk" 11PTEST_PYTEST_DIR = "test"
12 12
13SRC_URI += " \ 13BBCLASSEXTEND = "native nativesdk"
14 file://run-ptest \
15"
16 14
17RDEPENDS:${PN} += " \ 15RDEPENDS:${PN} += " \
18 python3-datetime \ 16 python3-datetime \
19 python3-stringold \ 17 python3-stringold \
20 " 18 "
21 19
22RDEPENDS:${PN}-ptest += " \
23 python3-pytest \
24 python3-unittest-automake-output \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/test
29 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
30}