diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-17 18:59:41 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 11:29:13 -0800 |
| commit | dc556825e9d9d1dc2cde729792fc84091f8d3fe8 (patch) | |
| tree | 6a020640dd8859f898da63e8150ef46ea73f8da6 /meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | |
| parent | aa223d4dbafb8991f75c05897c782ec5bb4fc4a4 (diff) | |
| download | meta-openembedded-dc556825e9d9d1dc2cde729792fc84091f8d3fe8.tar.gz | |
python3-pytoml: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | 17 |
1 files changed, 3 insertions, 14 deletions
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 | } | ||
