diff options
author | Derek Straka <derek@asterius.io> | 2025-01-10 20:08:12 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:44 -0800 |
commit | 63cf96b31cb2e7d14a164b3478141d021da85a70 (patch) | |
tree | 111a0ed51a5069aa3538e4356a4250c5bbf770ac /meta-python | |
parent | 194493e32c32b9c14a4cff98a623c445cb3ac4d8 (diff) | |
download | meta-openembedded-63cf96b31cb2e7d14a164b3478141d021da85a70.tar.gz |
python3-xlrd: 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-xlrd/run-ptest | 3 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 8 |
2 files changed, 1 insertions, 10 deletions
diff --git a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb index aedf483bef..5c572c615b 100644 --- a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | |||
@@ -10,13 +10,12 @@ SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27 | |||
10 | 10 | ||
11 | 11 | ||
12 | SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ | 12 | SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \ |
13 | file://run-ptest \ | ||
14 | " | 13 | " |
15 | SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" | 14 | SRCREV = "b8d573e11ec149da695d695c81a156232b89a949" |
16 | 15 | ||
17 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
18 | 17 | ||
19 | inherit ptest setuptools3 | 18 | inherit ptest-python-pytest setuptools3 |
20 | 19 | ||
21 | RDEPENDS:${PN} += " \ | 20 | RDEPENDS:${PN} += " \ |
22 | python3-compression \ | 21 | python3-compression \ |
@@ -31,9 +30,4 @@ RDEPENDS:${PN}-ptest += " \ | |||
31 | python3-unittest-automake-output \ | 30 | python3-unittest-automake-output \ |
32 | " | 31 | " |
33 | 32 | ||
34 | do_install_ptest() { | ||
35 | install -d ${D}${PTEST_PATH}/tests | ||
36 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
37 | } | ||
38 | |||
39 | BBCLASSEXTEND = "native nativesdk" | 33 | BBCLASSEXTEND = "native nativesdk" |