diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-10 20:08:17 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:45 -0800 |
| commit | deffc9a9468ae868a59a3bc6a5ddb89f97377de1 (patch) | |
| tree | 3a85f67ed87d938e1afe80b142b04267a163bee6 /meta-python | |
| parent | 869594515444d2e3f4f926efa2986307fd8502a2 (diff) | |
| download | meta-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-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-unidiff_0.7.5.bb | 16 |
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 | |||
| 3 | pytest --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 | ||
| 6 | SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" | 6 | SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" |
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest-python-pytest |
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN}-ptest += " \ | ||
| 15 | python3-pytest \ | ||
| 16 | python3-unittest-automake-output \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_install_ptest() { | ||
| 20 | install -d ${D}${PTEST_PATH}/tests | ||
| 21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 22 | } | ||
| 23 | 9 | ||
| 24 | RDEPENDS:${PN} += " \ | 10 | RDEPENDS:${PN} += " \ |
| 25 | python3-codecs \ | 11 | python3-codecs \ |
