diff options
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" |