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>
This commit is contained in:
Derek Straka
2025-01-10 20:08:17 +00:00
committed by Khem Raj
parent 8695945154
commit deffc9a946
2 changed files with 1 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
#!/bin/sh
pytest --automake

View File

@@ -5,21 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3"
SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574"
inherit pypi setuptools3 ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
inherit pypi setuptools3 ptest-python-pytest
RDEPENDS:${PN} += " \
python3-codecs \