Files
Leon Anavi 86154d51da python3-rarfile: Enable tests
Inherit ptest, include tests for rarfile and run the relevant
test cases.

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-10 15:08:45 -07:00

39 lines
826 B
BlitzBasic

SUMMARY = "RAR archive reader for Python"
HOMEPAGE = "https://github.com/markokr/rarfile"
LICENSE = "ISC"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1916695551f7eec48dfd97db9467b831"
inherit setuptools3
SRC_URI += "file://run-ptest"
SRC_URI[sha256sum] = "0d8b5a7ffb9f8e9a7b002f2398905e4420c0cb373e799b48e48f418db9c8816a"
inherit pypi ptest
RDEPENDS:${PN} += "\
7zip \
python3-core \
python3-datetime \
python3-crypt \
python3-io \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-core \
python3-datetime \
python3-crypt \
python3-compression \
python3-unittest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/test
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
}
BBCLASSEXTEND = "native nativesdk"