diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytoml/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | 17 |
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 | |||
| 3 | pytest --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 | ||
| 7 | SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" | 7 | SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" |
| 8 | 8 | ||
| 9 | inherit pypi setuptools3 ptest | 9 | inherit pypi setuptools3 ptest-python-pytest |
| 10 | 10 | ||
| 11 | BBCLASSEXTEND = "native nativesdk" | 11 | PTEST_PYTEST_DIR = "test" |
| 12 | 12 | ||
| 13 | SRC_URI += " \ | 13 | BBCLASSEXTEND = "native nativesdk" |
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | 14 | ||
| 17 | RDEPENDS:${PN} += " \ | 15 | RDEPENDS:${PN} += " \ |
| 18 | python3-datetime \ | 16 | python3-datetime \ |
| 19 | python3-stringold \ | 17 | python3-stringold \ |
| 20 | " | 18 | " |
| 21 | 19 | ||
| 22 | RDEPENDS:${PN}-ptest += " \ | ||
| 23 | python3-pytest \ | ||
| 24 | python3-unittest-automake-output \ | ||
| 25 | " | ||
| 26 | |||
| 27 | do_install_ptest() { | ||
| 28 | install -d ${D}${PTEST_PATH}/test | ||
| 29 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
| 30 | } | ||
