diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-30 21:57:29 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 14:15:35 -0800 |
| commit | 50c39361c8d5804128026a2fc0942aec641eaf37 (patch) | |
| tree | c2cd744fa8b30a6e13f33d82dd2b207e42164262 /meta-python | |
| parent | e37f7788cb4b8517bc52ba9ee8aea6aceb545939 (diff) | |
| download | meta-openembedded-50c39361c8d5804128026a2fc0942aec641eaf37.tar.gz | |
python3-html2text: 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')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-html2text/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb | 16 |
2 files changed, 2 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-python/recipes-devtools/python/python3-html2text/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-html2text/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb index 55f4c8b0a6..98e0cde1e5 100644 --- a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb +++ b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb | |||
| @@ -6,22 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32" | 7 | SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32" |
| 8 | 8 | ||
| 9 | inherit pypi setuptools3 ptest | 9 | inherit pypi setuptools3 ptest-python-pytest |
| 10 | 10 | ||
| 11 | SRC_URI += " \ | 11 | PTEST_PYTEST_DIR = "test" |
| 12 | file://run-ptest \ | ||
| 13 | " | ||
| 14 | 12 | ||
| 15 | RDEPENDS:${PN} += "python3-html" | 13 | RDEPENDS:${PN} += "python3-html" |
| 16 | 14 | ||
| 17 | RDEPENDS:${PN}-ptest += " \ | ||
| 18 | python3-pytest \ | ||
| 19 | python3-unittest-automake-output \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/test | ||
| 24 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
| 25 | } | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | 15 | BBCLASSEXTEND = "native nativesdk" |
