summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-10 20:08:17 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-10 16:53:45 -0800
commitdeffc9a9468ae868a59a3bc6a5ddb89f97377de1 (patch)
tree3a85f67ed87d938e1afe80b142b04267a163bee6 /meta-python
parent869594515444d2e3f4f926efa2986307fd8502a2 (diff)
downloadmeta-openembedded-deffc9a9468ae868a59a3bc6a5ddb89f97377de1.tar.gz
python3-unidiff: 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-unidiff/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb16
2 files changed, 1 insertions, 18 deletions
diff --git a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest b/meta-python/recipes-devtools/python/python3-unidiff/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-unidiff/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
index d77252beac..c1e931e07e 100644
--- a/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
+++ b/meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb
@@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3"
5 5
6SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" 6SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574"
7 7
8inherit pypi setuptools3 ptest 8inherit pypi setuptools3 ptest-python-pytest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14RDEPENDS:${PN}-ptest += " \
15 python3-pytest \
16 python3-unittest-automake-output \
17"
18
19do_install_ptest() {
20 install -d ${D}${PTEST_PATH}/tests
21 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
22}
23 9
24RDEPENDS:${PN} += " \ 10RDEPENDS:${PN} += " \
25 python3-codecs \ 11 python3-codecs \