diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-10 20:57:28 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:46 -0800 |
| commit | 5dd9806ac226fa689cb5b68c13f922058f39b4f1 (patch) | |
| tree | 07648e23b96ff58ce49d2299f53a17be289ade25 /meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb | |
| parent | 9bcd41e7b08fbcf59f7679e05a03f911cadcafd4 (diff) | |
| download | meta-openembedded-5dd9806ac226fa689cb5b68c13f922058f39b4f1.tar.gz | |
python3-tomli-w: 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-tomli-w_1.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb index dded2cbf42..94ea20049f 100644 --- a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb | |||
| @@ -6,24 +6,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" | |||
| 6 | SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" | 6 | SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" |
| 7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" | 7 | PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" |
| 8 | 8 | ||
| 9 | inherit pypi python_flit_core ptest | 9 | inherit pypi python_flit_core ptest-python-pytest |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 12 | 12 | ||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | 13 | RDEPENDS:${PN}-ptest += " \ |
| 18 | python3-pytest \ | ||
| 19 | python3-tomli \ | 14 | python3-tomli \ |
| 20 | python3-unittest-automake-output \ | ||
| 21 | " | 15 | " |
| 22 | 16 | ||
| 23 | do_install_ptest() { | 17 | do_install_ptest:append() { |
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | install -d ${D}${PTEST_PATH}/benchmark | 18 | install -d ${D}${PTEST_PATH}/benchmark |
| 26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 27 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ | 19 | cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ |
| 28 | } | 20 | } |
| 29 | 21 | ||
